tvm
|
A compiler diagnostic message. More...
#include <diagnostic.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (DiagnosticNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
DiagnosticLevel | level |
The level. More... | |
Span | span |
The span at which to report an error. More... | |
ObjectRef | loc |
The object location at which to report an error. More... | |
String | message |
The diagnostic message. More... | |
Static Public Attributes | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "Diagnostic" |
A compiler diagnostic message.
|
inlinestatic |
tvm::DiagnosticNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | DiagnosticNode | , |
Object | |||
) |
|
staticconstexpr |
|
staticconstexpr |
DiagnosticLevel tvm::DiagnosticNode::level |
The level.
ObjectRef tvm::DiagnosticNode::loc |
The object location at which to report an error.
The object loc provides a location when span is not always available during transformation. The error reporter can still pick up loc->span if necessary.
String tvm::DiagnosticNode::message |
The diagnostic message.
Span tvm::DiagnosticNode::span |
The span at which to report an error.