CodeQL library for C/C++
Search

Member predicate PreprocessorBranch::wasNotTaken

Holds if at least one translation unit evaluated this directive’s condition but then didn’t take the branch.

If #else is the next matching directive, then this means that the #else was taken instead.

predicate wasNotTaken()