mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
import cpp
|
|
|
|
from Element e, string s
|
|
where
|
|
not e instanceof Folder and
|
|
exists(e.toString()) and // Work around `VariableDeclarationEntry.toString()` not holding
|
|
if e instanceof VariableAccess then s = "Variable access" else s = "Other"
|
|
select e, s
|