mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
14 lines
276 B
Plaintext
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()
|
|
|