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