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

Predicate endsWithEndif

Holds if hf ends with endif.

Import path

import semmle.code.cpp.headers.MultipleInclusion
predicate endsWithEndif(HeaderFile hf, PreprocessorEndif endif)