[clang] [clang-tools-extra] [llvm] [clang] Introduce diagnostics suppression mappings (PR #112517)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 07:35:12 PST 2024
================
@@ -70,6 +76,16 @@ void clang::ProcessWarningOptions(DiagnosticsEngine &Diags,
else
Diags.setExtensionHandlingBehavior(diag::Severity::Ignored);
+ if (!Opts.DiagnosticSuppressionMappingsFile.empty()) {
+ if (auto Buf =
----------------
kadircet wrote:
sure, i think it's a little bit unfortunate to spend so much effort in a variable that's scoped to 2 lines.
https://github.com/llvm/llvm-project/pull/112517
More information about the cfe-commits
mailing list