Files
codeql/cpp/ql/test/library-tests/defuse/useOfVar.ql
Jonas Jensen e57f98ca64 C++: Use StackVariable in def-use libraries
Most of the implementation was already in terms of
`SemanticStackVariable`, so not much should have changed.
2019-11-19 11:30:59 +01:00

6 lines
90 B
Plaintext

import cpp
from StackVariable v, VariableAccess use
where useOfVar(v, use)
select v, use