Files
codeql/cpp/ql/test/library-tests/headers/preprocBlock/preprocblock.ql
2024-01-30 16:47:35 +00:00

7 lines
211 B
Plaintext

import cpp
import semmle.code.cpp.headers.PreprocBlock
from PreprocessorBlock b, string parent
where if exists(b.getParent()) then parent = b.getParent().toString() else parent = "(no parent)"
select parent, b