mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Code quality improvements + add dedicated DeadRefTypes test
This commit is contained in:
@@ -41,6 +41,9 @@ class Element extends @element, Top {
|
||||
|
||||
/** Cast this element to a `Documentable`. */
|
||||
Documentable getDoc() { result = this }
|
||||
|
||||
/** Holds if this is an auxiliary program element generated by the compiler. */
|
||||
predicate isCompilerGenerated() { compiler_generated(this, _) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user