Merge remote-tracking branch 'origin/master-next'

# Conflicts:
#	include/swift/Frontend/FrontendInputsAndOutputs.h
This commit is contained in:
Karoy Lorentey
2020-06-08 16:43:40 -07:00
53 changed files with 263 additions and 235 deletions

View File

@@ -76,7 +76,7 @@ void CompilerInvocation::setDefaultPrebuiltCacheIfNecessary() {
platform = getPlatformNameForTriple(LangOpts.Target);
}
llvm::sys::path::append(defaultPrebuiltPath, platform, "prebuilt-modules");
FrontendOpts.PrebuiltModuleCachePath = defaultPrebuiltPath.str();
FrontendOpts.PrebuiltModuleCachePath = std::string(defaultPrebuiltPath.str());
}
static void updateRuntimeLibraryPaths(SearchPathOptions &SearchPathOpts,