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

Predicate hasLocationInfo_Include

An Include with a hasLocationInfo predicate.

This has a location that covers only the name of the included file, not the #include text or whitespace before it.

Import path

import definitions
predicate hasLocationInfo_Include(Include i, string path, int sl, int sc, int el, int ec)