My Project
|
#include <Location.h>
Public Member Functions | |
StringRef | getFilename () const |
unsigned | getLine () const |
unsigned | getColumn () const |
Static Public Member Functions | |
static Location | get (Identifier filename, unsigned line, unsigned column, MLIRContext *context) |
Return a uniqued FileLineCol location object. More... | |
static Location | get (StringRef filename, unsigned line, unsigned column, MLIRContext *context) |
static bool | kindof (unsigned kind) |
Methods for support type inquiry through isa, cast, and dyn_cast. More... | |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
![]() | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
![]() | |
template<typename... Args> | |
static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static LogicalResult | verifyConstructionInvariants (Args... args) |
Default implementation that just returns success. More... | |
Represents a location derived from a file/line/column location. The column and line may be zero to represent unknown column and/or unknown line/column information.
|
static |
Return a uniqued FileLineCol location object.
|
static |
unsigned FileLineColLoc::getColumn | ( | ) | const |
StringRef FileLineColLoc::getFilename | ( | ) | const |
unsigned FileLineColLoc::getLine | ( | ) | const |
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast.