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

Member predicate Location::fullLocationInfo

Holds if this element is in the specified container. The location spans column startcolumn of line startline to column endcolumn of line endline.

This predicate is similar to hasLocationInfo, but exposes the Container entity, rather than merely its path.

predicate fullLocationInfo(Container container, int startline, int startcolumn, int endline, int endcolumn)