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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Nov 26 16:10:57 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"),
----------------
sfzhu93 wrote:

Updated. My VSCode auto formats using an internal formatter when saving a file, and some unrelated formatting was included. Going to fix that later. 

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


More information about the Mlir-commits mailing list