[clang] [llvm] [clang][LLVM Demangler] Add a diagnostic that validates that all mang… (PR #111391)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 28 07:16:56 PDT 2024
================
@@ -462,6 +462,9 @@ ENUM_CODEGENOPT(ZeroCallUsedRegs, llvm::ZeroCallUsedRegs::ZeroCallUsedRegsKind,
/// non-deleting destructors. (No effect on Microsoft ABI.)
CODEGENOPT(CtorDtorReturnThis, 1, 0)
+/// Whether to validate if a produced mangled name can be demangled with LLVM demangler.
+CODEGENOPT(NoDemanglingFailures, 1, 0)
----------------
erichkeane wrote:
I think `Diagnose` vs `Diagnostics`, since the point is to enable `diagnose`-ing of the feature makes more sense.
https://github.com/llvm/llvm-project/pull/111391
More information about the cfe-commits
mailing list