mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning] Move generation of a named import path 'Identifier' out of the individual scanning workers up into the parent scanner. This operation mutates the scanner ASTContext by potentially adding new identifiers to it and is therefore not thread-safe.
This commit is contained in:
@@ -250,7 +250,7 @@ public:
|
||||
virtual void verifyAllModules() override;
|
||||
|
||||
virtual llvm::SmallVector<std::pair<ModuleDependencyID, ModuleDependencyInfo>, 1>
|
||||
getModuleDependencies(StringRef moduleName, StringRef moduleOutputPath,
|
||||
getModuleDependencies(Identifier moduleName, StringRef moduleOutputPath,
|
||||
llvm::IntrusiveRefCntPtr<llvm::cas::CachingOnDiskFileSystem> CacheFS,
|
||||
const llvm::DenseSet<clang::tooling::dependencies::ModuleID> &alreadySeenClangModules,
|
||||
clang::tooling::dependencies::DependencyScanningTool &clangScanningTool,
|
||||
|
||||
Reference in New Issue
Block a user