CodeQL library for C/C++
codeql/cpp-all 0.4.5 (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()