We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9bb0c commit 2d59eb1Copy full SHA for 2d59eb1
mlir/include/mlir/Bindings/Python/Diagnostics.h
@@ -30,6 +30,7 @@ class CollectDiagnosticsToStringScope {
30
/*deleteUserData=*/nullptr);
31
}
32
~CollectDiagnosticsToStringScope() {
33
+ assert(message.empty() && "unchecked error message");
34
mlirContextDetachDiagnosticHandler(context, handlerID);
35
36
0 commit comments