[clang] [llvm] [clang][LLVM Demangler] Add a diagnostic that validates that all mang… (PR #111391)

Viktoriia Bakalova via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 07:06:41 PDT 2024


================
@@ -1967,6 +1967,10 @@ def fclang_abi_compat_EQ : Joined<["-"], "fclang-abi-compat=">, Group<f_clang_Gr
   Visibility<[ClangOption, CC1Option]>,
   MetaVarName<"<version>">, Values<"<major>.<minor>,latest">,
   HelpText<"Attempt to match the ABI of Clang <version>">;
+def fdemangling_failures: Flag<["-"], "fdemangling-failures">, Group<f_clang_Group>,
----------------
VitaNuo wrote:

Thank you, good point. I've looked through the existing flags, there are multiple ones that start with `fdiagnostics_XXX`, so I have renamed the flag to `fdiagnostics_demangler_failures`. 
Let me know if this works.

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


More information about the cfe-commits mailing list