mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
8 lines
301 B
Plaintext
8 lines
301 B
Plaintext
import cpp
|
|
|
|
from Element e, string comment
|
|
where (e instanceof Include or e instanceof DeclarationEntry or e instanceof Macro)
|
|
and (e.getFile().toString() != "")
|
|
and if exists(((Include)e).getIncludedFile()) then comment = ((Include)e).getIncludedFile().toString() else comment = ""
|
|
select e, comment
|