mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
DependenciesScanner: refactor cross import overlay resolver to a standalone function. NFC
This change facilitates resolving cross-import overlays from transitive dependencies.
This commit is contained in:
@@ -255,7 +255,7 @@ public:
|
||||
|
||||
/// Add a dependency on the given module, if it was not already in the set.
|
||||
void addModuleDependency(StringRef module,
|
||||
llvm::StringSet<> &alreadyAddedModules);
|
||||
llvm::StringSet<> *alreadyAddedModules = nullptr);
|
||||
|
||||
/// Add all of the module dependencies for the imports in the given source
|
||||
/// file to the set of module dependencies.
|
||||
|
||||
Reference in New Issue
Block a user