[Mlir-commits] [mlir] [MLIR][mlir-opt] add support for disabling diagnostics (PR #117669)

Mehdi Amini llvmlistbot at llvm.org
Wed Nov 27 03:08:10 PST 2024


================
@@ -113,6 +113,10 @@ struct MlirOptMainConfigCLOptions : public MlirOptMainConfig {
         cl::desc("Enable Debugger hook for debugging MLIR Actions"),
         cl::location(enableDebuggerActionHookFlag), cl::init(false));
 
+    static cl::opt<bool, /*ExternalStorage=*/true> disableRemarkDiagnostic(
+        "mlir-disable-diagnostic", cl::desc("Disable diagnostic information"),
----------------
joker-eph wrote:

LGTM after you fix formatting

https://github.com/llvm/llvm-project/pull/117669


More information about the Mlir-commits mailing list