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