mirror of
https://github.com/github/codeql.git
synced 2026-02-16 23:13:43 +01:00
10 lines
245 B
Plaintext
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
|