We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3cd558 + 5440e2f commit 6aa3abdCopy full SHA for 6aa3abd
lib/DependencyScan/DependencyScanningTool.cpp
@@ -98,13 +98,13 @@ bool DependencyScanningTool::loadCache(llvm::StringRef path) {
98
DiagnosticEngine Diags(SM);
99
Diags.addConsumer(PDC);
100
SharedCache = std::make_unique<ModuleDependenciesCache>();
101
- bool Success =
+ bool readFailed =
102
module_dependency_cache_serialization::readInterModuleDependenciesCache(
103
path, *SharedCache);
104
- if (!Success) {
+ if (readFailed) {
105
Diags.diagnose(SourceLoc(), diag::warn_scaner_deserialize_failed, path);
106
}
107
- return Success;
+ return readFailed;
108
109
110
void DependencyScanningTool::resetCache() {
0 commit comments