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

Member predicate Operand::getLocation

Gets the location of the source code for this operand. By default this is where the operand is used, but some subclasses may override this using getAnyDef() if it makes more sense.

Location getLocation()