Code quality improvements + add dedicated DeadRefTypes test

This commit is contained in:
Tamas Vajk
2022-04-08 09:48:26 +02:00
committed by Ian Lynagh
parent cdc7ed0e14
commit 47799ae040
7 changed files with 25 additions and 5 deletions

View File

@@ -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, _) }
}
/**