mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update master to build with Xcode 11 beta, macOS 10.15, iOS 13, tvOS 13, and watchOS 6 SDKs
This commit is contained in:
@@ -264,7 +264,7 @@ static llvm::cl::list<std::string>
|
||||
SwiftVersion("swift-version", llvm::cl::desc("Swift version"),
|
||||
llvm::cl::cat(Category));
|
||||
|
||||
static llvm::cl::opt<std::string>
|
||||
static llvm::cl::list<std::string>
|
||||
ModuleCachePath("module-cache-path", llvm::cl::desc("Clang module cache path"),
|
||||
llvm::cl::cat(Category));
|
||||
|
||||
@@ -3267,8 +3267,11 @@ int main(int argc, char *argv[]) {
|
||||
InitInvok.getLangOptions().EffectiveLanguageVersion = actual.getValue();
|
||||
}
|
||||
}
|
||||
InitInvok.getClangImporterOptions().ModuleCachePath =
|
||||
options::ModuleCachePath;
|
||||
if (!options::ModuleCachePath.empty()) {
|
||||
// Honor the *last* -module-cache-path specified.
|
||||
InitInvok.getClangImporterOptions().ModuleCachePath =
|
||||
options::ModuleCachePath[options::ModuleCachePath.size()-1];
|
||||
}
|
||||
InitInvok.getClangImporterOptions().PrecompiledHeaderOutputDir =
|
||||
options::PCHOutputDir;
|
||||
InitInvok.setImportSearchPaths(options::ImportPaths);
|
||||
|
||||
Reference in New Issue
Block a user