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:
Nathan Hawes
2020-09-03 11:31:12 -07:00
17 changed files with 134 additions and 62 deletions

View File

@@ -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;
}
}