mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Caching] Remove temporary caching test option
Remove `-allow-unstable-cache-key-for-testing` frontend flag. It is a test only flag when the infrastructure is not ready to write tests for fully cachable tasks. It is no longer needed after all the related tests are rewritten to use dependency scanner.
This commit is contained in:
@@ -275,10 +275,8 @@ bool ArgsToFrontendOptionsConverter::convert(
|
||||
if (Opts.EnableCaching && Opts.CASFSRootIDs.empty() &&
|
||||
Opts.ClangIncludeTrees.empty() &&
|
||||
FrontendOptions::supportCompilationCaching(Opts.RequestedAction)) {
|
||||
if (!Args.hasArg(OPT_allow_unstable_cache_key_for_testing)) {
|
||||
Diags.diagnose(SourceLoc(), diag::error_caching_no_cas_fs);
|
||||
return true;
|
||||
}
|
||||
Diags.diagnose(SourceLoc(), diag::error_caching_no_cas_fs);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (FrontendOptions::doesActionGenerateIR(Opts.RequestedAction)) {
|
||||
|
||||
Reference in New Issue
Block a user