mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01:00
12 lines
298 B
Plaintext
12 lines
298 B
Plaintext
import cpp
|
|
|
|
string clazz(Declaration d) {
|
|
(d instanceof ProxyClass and result = "ProxyClass") or
|
|
(d instanceof TemplateParameter and result = "TemplateParameter") or
|
|
(d instanceof Struct and result = "Struct")
|
|
}
|
|
|
|
from Declaration d
|
|
where d.getLocation().getStartLine() > 0
|
|
select d, clazz(d)
|