Files
codeql/cpp/ql/test/library-tests/compiler_generated/compilerGenerated.ql
2018-08-02 17:53:23 +01:00

10 lines
304 B
Plaintext

import cpp
from Element e, string type
where ((Function)e).isCompilerGenerated() and type = "Function"
or ((Expr) e).isCompilerGenerated() and type = "Expr"
or ((Variable)e).isCompilerGenerated() and type = "Variable"
or ((Stmt) e).isCompilerGenerated() and type = "Stmt"
select e, type