mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[frontend] Add support for -disable-diagnostic-passes.
Swift SVN r11322
This commit is contained in:
@@ -176,6 +176,10 @@ static bool ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args,
|
||||
Opts.VerifyDiagnostics = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_diagnostic_passes)) {
|
||||
Opts.SkipDiagnosticPasses = true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user