Merge pull request #77934 from cachemeifyoucan/eng/PR-140822432

[Caching] Downgrade output loading error to a warning
This commit is contained in:
Steven Wu
2024-12-04 10:37:29 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -226,7 +226,8 @@ bool replayCachedCompilerOutputs(
OutputEntry{OutputPath->second, OutID, Kind, Input, *Proxy});
return Error::success();
})) {
Diag.diagnose(SourceLoc(), diag::error_cas, toString(std::move(Err)));
Diag.diagnose(SourceLoc(), diag::cache_replay_failed,
toString(std::move(Err)));
return lookupFailed();
}
};