tvm
|
A wrapper around std::stringstream to build a diagnostic. More...
#include <diagnostic.h>
Public Member Functions | |
template<typename T > | |
DiagnosticBuilder & | operator<< (const T &val) |
DiagnosticBuilder () | |
DiagnosticBuilder (const DiagnosticBuilder &builder) | |
DiagnosticBuilder (DiagnosticLevel level, Span span) | |
DiagnosticBuilder (DiagnosticLevel level, ObjectRef loc) | |
operator Diagnostic () | |
Public Attributes | |
DiagnosticLevel | level |
The level. More... | |
SourceName | source_name |
The source name. More... | |
Span | span |
The span of the diagnostic. More... | |
ObjectRef | loc |
The object location at which to report an error. More... | |
Friends | |
class | Diagnostic |
A wrapper around std::stringstream to build a diagnostic.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
DiagnosticLevel tvm::DiagnosticBuilder::level |
The level.
ObjectRef tvm::DiagnosticBuilder::loc |
The object location at which to report an error.
SourceName tvm::DiagnosticBuilder::source_name |
The source name.
Span tvm::DiagnosticBuilder::span |
The span of the diagnostic.