================
@@ -323,24 +319,44 @@ class PyLocation : public BaseContextObject {
MlirLocation loc;
};
+enum PyMlirDiagnosticSeverity : std::underlying_type<
+ MlirDiagnosticSeverity>::type {
----------------
makslevental wrote:
done
https://github.com/llvm/llvm-project/pull/171775