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

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 04:14:19 PDT 2024


================
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor Flavor,
       setSeverity(Diag, Map, Loc);
 }
 
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
----------------
kadircet wrote:

i'd rather keep it here as I actually want to make sure this stays as an implementation detail of diagnostics, and not used by any other parts of clang.

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


More information about the cfe-commits mailing list