Module PreprocBlock
This library offers a view of preprocessor branches (#if, #ifdef,
#ifndef, #elif, #elifdef, #elifndef, and #else) as blocks of
code between the opening and closing directives, with navigable
parent-child relationships to other blocks. The main class is
PreprocessorBlock.
Import path
import semmle.code.cpp.headers.PreprocBlockImports
| cpp | Provides classes and predicates for working with C/C++ code. |
Classes
| PreprocessorBlock | A chunk of code from one preprocessor branch ( |