|
MLIR 22.0.0git
|
RAII object that captures any error diagnostics emitted to the provided context. More...
#include "mlir/Bindings/Python/IRCore.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.
|
inline |
Definition at line 436 of file IRCore.h.
References mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMlirContext::get(), mlirContextAttachDiagnosticHandler(), and nullptr.
|
inline |
Definition at line 440 of file IRCore.h.
References mlirContextDetachDiagnosticHandler().
|
inline |
Definition at line 445 of file IRCore.h.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyFloatAttribute::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyMemRefType::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRankedTensorType::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyUnrankedMemRefType::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyUnrankedTensorType::bindDerived(), mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore(), and mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populatePassManagerSubmodule().