[clang] [clang-tools-extra] [llvm] [clang] Introduce diagnostics suppression mappings (PR #112517)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 06:59:23 PDT 2024


================
@@ -8998,3 +8998,8 @@ def wasm_opt : Flag<["--"], "wasm-opt">,
   Group<m_Group>,
   HelpText<"Enable the wasm-opt optimizer (default)">,
   MarshallingInfoNegativeFlag<LangOpts<"NoWasmOpt">>;
+
+def warning_suppression_mappings_EQ : Joined<["--"],
+  "warning-suppression-mappings=">, Group<Diag_Group>,
+  HelpText<"File containing list of sources to suppress diagnostics for.">,
----------------
bricknerb wrote:

It's a bit more complex than "list of sources", no?
If we don't have documentation foe format, perhaps and example or a link to an example would help?

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


More information about the cfe-commits mailing list