tvm
|
A compiler diagnostic message. More...
#include <diagnostic.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("Diagnostic", 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... | |
ffi::String | message |
The diagnostic message. More... | |
Static Public Attributes | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
A compiler diagnostic message.
|
inlinestatic |
tvm::DiagnosticNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "Diagnostic" | , |
DiagnosticNode | , | ||
Object | |||
) |
|
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.
ffi::String tvm::DiagnosticNode::message |
The diagnostic message.
Span tvm::DiagnosticNode::span |
The span at which to report an error.