CodeQL library for C/C++
codeql/cpp-all 0.9.2 ( changelog , source )

Member predicate PreprocessorBranchDirective :: getEndIf

Gets the #endif directive which matches this branching directive.

If this branch directive was unbalanced, then there will be no result. Conversely, if the branch matched different #endif directives in different translation units, then there can be more than one result.

PreprocessorEndif getEndIf ( )