[Dependency Scanning] Enable parallel dependency scanning by-default

This commit is contained in:
Artem Chikin
2024-04-04 15:09:28 -07:00
parent fd9a3c915b
commit e7a76653aa
5 changed files with 40 additions and 22 deletions

View File

@@ -51,8 +51,12 @@ private:
scanFilesystemForSwiftModuleDependency(Identifier moduleName,
const ModuleDependenciesCache &cache);
// Worker-specific instance of CompilerInvocation
std::unique_ptr<CompilerInvocation> workerCompilerInvocation;
// Worker-specific instance of ASTContext
std::unique_ptr<ASTContext> workerASTContext;
// An AST delegate for interface scanning.
std::unique_ptr<InterfaceSubContextDelegateImpl> ScanningASTDelegate;
std::unique_ptr<InterfaceSubContextDelegateImpl> scanningASTDelegate;
// The Clang scanner tool used by this worker.
clang::tooling::dependencies::DependencyScanningTool clangScanningTool;
// Swift and Clang module loaders acting as scanners.