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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 05:55:55 PST 2024


================
@@ -477,6 +486,136 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor Flavor,
       setSeverity(Diag, Map, Loc);
 }
 
+namespace {
+// FIXME: We should isolate the parser from SpecialCaseList and just use it
+// here.
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
----------------
AaronBallman wrote:

Prevailing style in this file also drops the `llvm::` prefixes. Probably worth taking a pass over the whole PR to verify you're following the local styles.

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


More information about the cfe-commits mailing list