mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C++: Remove redundant charpred on Element
This commit is contained in:
@@ -66,10 +66,6 @@ class ElementBase extends @element {
|
||||
* elements, such as functions, classes, expressions, and so on.
|
||||
*/
|
||||
class Element extends ElementBase {
|
||||
Element() {
|
||||
this = resolveElement(_)
|
||||
}
|
||||
|
||||
/** Gets the primary file where this element occurs. */
|
||||
File getFile() { result = this.getLocation().getFile() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user