CodeQL library for C/C++
Search

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()