mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Manually merge remote-tracking branch 'upstream/master' into HEAD
Conflicts: lib/Frontend/CompilerInvocation.cpp lib/Frontend/ModuleInterfaceLoader.cpp lib/Serialization/ModuleFile.cpp
This commit is contained in:
@@ -108,8 +108,7 @@ void CompilerInvocation::setDefaultPrebuiltCacheIfNecessary() {
|
||||
llvm::sys::path::append(defaultPrebuiltPathWithSDKVer, ver->getAsString());
|
||||
// If the versioned prebuilt module cache exists in the disk, use it.
|
||||
if (llvm::sys::fs::exists(defaultPrebuiltPathWithSDKVer)) {
|
||||
FrontendOpts.PrebuiltModuleCachePath =
|
||||
std::string(defaultPrebuiltPathWithSDKVer.str());
|
||||
FrontendOpts.PrebuiltModuleCachePath = std::string(defaultPrebuiltPathWithSDKVer.str());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user