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

10 lines
171 B
Plaintext

import cpp
from VariableAccess a, BlockExpr b
where a.getEnclosingFunction() = b.getFunction()
select b,
a,
a.getTarget(),
a.getEnclosingFunction()