Module Location

Import path

semmle.code.cpp.Location

Imports

Classes

Locatable

A C/C++ element that has a location in a file

Location

A location of a C/C++ artifact.

LocationDefault

A location of an element. Not used for expressions or statements, which instead use LocationExpr and LocationStmt respectively.

LocationExpr

A location of an expression.

LocationStmt

A location of a statement.

UnknownDefaultLocation

A dummy location which is used when something doesn’t have a location in the source code but needs to have a Location associated with it.

UnknownExprLocation

A dummy location which is used when an expression doesn’t have a location in the source code but needs to have a Location associated with it.

UnknownLocation

A dummy location which is used when something doesn’t have a location in the source code but needs to have a Location associated with it. There may be several distinct kinds of unknown locations. For example: one for expressions, one for statements and one for other program elements.

UnknownStmtLocation

A dummy location which is used when a statement doesn’t have a location in the source code but needs to have a Location associated with it.