Represents a location in source code.

Synopsis

Declared in <llvm/Support/SMLoc.h>

class SMLoc;

Member Functions

Name

Description

SMLoc [constructor]

Construct an invalid source location.

getPointer

Return the underlying pointer for this source location.

isValid

Return true if this location refers to a valid pointer.

operator==

Return true if this location and RHS refer to the same pointer.

operator!=

Return true if this location and RHS refer to different pointers.

Static Member Functions

Name

Description

getFromPointer

Construct a source location that refers to Ptr.

Non-Member Functions

Name

Description

CheckAssert

Check TableGen assert condition Condition at Loc.

dumpMessage

Dump TableGen message Message as a note at Loc.

Created with MrDocs