Merge pull request #84870 from hnrklssn/verify-ignore-macro-note

[DiagnosticVerifier] Add -verify-ignore-macro-note
This commit is contained in:
Henrik G. Olsson
2025-10-14 19:41:31 -07:00
committed by GitHub
6 changed files with 18 additions and 3 deletions

View File

@@ -2614,6 +2614,7 @@ static bool ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args,
Opts.VerifyMode = DiagnosticOptions::VerifyAndApplyFixes;
Opts.VerifyIgnoreUnknown |= Args.hasArg(OPT_verify_ignore_unknown);
Opts.VerifyIgnoreUnrelated |= Args.hasArg(OPT_verify_ignore_unrelated);
Opts.VerifyIgnoreMacroLocationNote |= Args.hasArg(OPT_verify_ignore_macro_note);
Opts.SkipDiagnosticPasses |= Args.hasArg(OPT_disable_diagnostic_passes);
Opts.ShowDiagnosticsAfterFatalError |=
Args.hasArg(OPT_show_diagnostics_after_fatal);