#include <diagnostic.h>
◆ DiagnosticContext()
◆ Default()
◆ Emit()
void tvm::DiagnosticContext::Emit |
( |
const Diagnostic & |
diagnostic | ) |
|
Emit a diagnostic.
- Parameters
-
diagnostic | The diagnostic to emit. |
◆ EmitFatal()
void tvm::DiagnosticContext::EmitFatal |
( |
const Diagnostic & |
diagnostic | ) |
|
Emit a diagnostic and then immediately attempt to render all errors.
- Parameters
-
diagnostic | The diagnostic to emit. |
Note: this will raise an exception if you would like to instead continue execution use the Emit method instead.
◆ operator->()
◆ Render()
void tvm::DiagnosticContext::Render |
( |
| ) |
|
Render the errors and raise a DiagnosticError exception.
◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: