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

14 lines
276 B
Plaintext

/**
* @name ExprsBasic3
* @kind table
*/
import cpp
from Function f, FieldAccess fa
where f.hasName("create_foo")
and fa.getEnclosingFunction() = f
and fa.getTarget().getDeclaringType().hasName("Foo")
and fa.getTarget().hasName("name")
select f, fa, fa.getTarget()