MLIR
20.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 427 of file IRModule.h.
|
inline |
Definition at line 428 of file IRModule.h.
|
inline |
Definition at line 432 of file IRModule.h.
References mlir::python::PyMlirContext::get(), and mlirContextDetachDiagnosticHandler().
|
inline |
Definition at line 437 of file IRModule.h.
Referenced by mlir::python::PyOperation::parse(), and mlir::python::PyOperationBase::verify().