mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02: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