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