MLIR
18.0.0git
|
RAII object that captures any error diagnostics emitted to the provided context. More...
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
ErrorCapture (PyMlirContextRef ctx) | |
~ErrorCapture () | |
std::vector< PyDiagnostic::DiagnosticInfo > | take () |
RAII object that captures any error diagnostics emitted to the provided context.
Definition at line 414 of file IRModule.h.
|
inline |
Definition at line 415 of file IRModule.h.
|
inline |
Definition at line 419 of file IRModule.h.
References mlir::python::PyMlirContext::get(), and mlirContextDetachDiagnosticHandler().
|
inline |
Definition at line 424 of file IRModule.h.