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

Member predicate Location :: isBefore

Holds if this comes strictly before l. The boolean sameLine is true if l is on the same line as this, but starts at a later column. Otherwise, sameLine is false.

predicate isBefore ( Location l , boolean sameLine )