CodeQL library for C/C++
Search

Member predicate BasicBlock::hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

Yields no result if this basic block spans multiple source files.

predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn)