Files
codeql/cpp/ql/test/header-variant-tests/deduplication/variables.ql
2018-08-02 17:53:23 +01:00

10 lines
245 B
Plaintext

import cpp
from Variable v, string d, string c
where if v instanceof MemberVariable then (
d = "MemberVariable" and c = ((MemberVariable)v).getDeclaringType().getName()
) else (
d = "Variable" and c = "<none>"
)
select v, v.getType(), d, c