[clang] Feat/suppress leak reports (PR #199240)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 09:50:35 PDT 2026


================
@@ -512,7 +512,12 @@ def DynamicMemoryModeling: Checker<"DynamicMemoryModeling">,
                   "NoStoreFuncVisitor.",
                   "true",
                   Released,
-                  Hide>
+                  Hide>,
+    CmdLineOption<String,
+                  "SuppressLeakReportsFor",
+                  "Comma-separated list of ownership types for which leak reports should be suppressed",
----------------
NagyDonat wrote:

Please wrap this line to a reasonable length. (Or, if you run `git-clang-format` over your patch, then it will wrap it for you.)

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


More information about the cfe-commits mailing list