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

Member predicate PreprocessorBranch::wasTaken

Holds if at least one translation unit evaluated this directive’s condition and subsequently took the branch.

predicate wasTaken()