mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Caching][NFC] Restructure CASOption in swift. NFC
Clean up how CASOptions are kept and passed inside swift to make the code more readable. Also avoid a copy of CAS configuration in ClangImporter.
This commit is contained in:
@@ -157,7 +157,7 @@ ModuleDependencyScanningWorker::ModuleDependencyScanningWorker(
|
||||
ScanningASTDelegate = std::make_unique<InterfaceSubContextDelegateImpl>(
|
||||
ScanASTContext.SourceMgr, &ScanASTContext.Diags,
|
||||
ScanASTContext.SearchPathOpts, ScanASTContext.LangOpts,
|
||||
ScanASTContext.ClangImporterOpts, LoaderOpts,
|
||||
ScanASTContext.ClangImporterOpts, ScanASTContext.CASOpts, LoaderOpts,
|
||||
/*buildModuleCacheDirIfAbsent*/ false, ClangModuleCachePath,
|
||||
FEOpts.PrebuiltModuleCachePath, FEOpts.BackupModuleInterfaceDir,
|
||||
FEOpts.SerializeModuleInterfaceDependencyHashes,
|
||||
|
||||
Reference in New Issue
Block a user