MLIR
20.0.0git
|
RAII scope intercepting all diagnostics into a string. More...
#include "mlir/Bindings/Python/Diagnostics.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 24 of file Diagnostics.h.
|
inlineexplicit |
Definition at line 26 of file Diagnostics.h.
References mlirContextAttachDiagnosticHandler().
|
inline |
Definition at line 30 of file Diagnostics.h.
References mlirContextDetachDiagnosticHandler().
|
inline |
Definition at line 35 of file Diagnostics.h.