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

10 lines
253 B
Plaintext

import cpp
from Function f, string d, string c
where if f instanceof MemberFunction then (
d = "MemberFunction" and c = ((MemberFunction)f).getDeclaringType().getName()
) else (
d = "Function" and c = "<none>"
)
select f, d, count(f.getBlock()), c