================ @@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor Flavor, setSeverity(Diag, Map, Loc); } +namespace { +class WarningsSpecialCaseList : public llvm::SpecialCaseList { ---------------- bricknerb wrote:
Do we need to keep all implementation details in a single file? Shouldn't we try to avoid growing huge files so they're easier to read, maintain etc.? If it's useful somewhere else, someone would just move it and use it I guess. https://github.com/llvm/llvm-project/pull/112517 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits