MLIR
20.0.0git
|
RAII scope intercepting all diagnostics into a string. More...
#include "mlir/Bindings/Python/PybindAdaptors.h"
Public Member Functions | |
CollectDiagnosticsToStringScope (MlirContext ctx) | |
~CollectDiagnosticsToStringScope () | |
std::string | takeMessage () |
RAII scope intercepting all diagnostics into a string.
The message must be checked before this goes out of scope.
Definition at line 616 of file PybindAdaptors.h.
|
inlineexplicit |
Definition at line 618 of file PybindAdaptors.h.
References mlirContextAttachDiagnosticHandler().
|
inline |
Definition at line 622 of file PybindAdaptors.h.
References mlirContextDetachDiagnosticHandler().
|
inline |
Definition at line 627 of file PybindAdaptors.h.