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