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

Member predicate PreprocessorBranchDirective :: getNext

Gets the next #elif, #else or #endif matching this branching directive.

For example somePreprocessorBranchDirective.getIf().getNext() gets the second directive in the same construct as somePreprocessorBranchDirective.

PreprocessorBranchDirective getNext ( )