mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Converting ModuleDecl::ImportedModule from std::pair to a dedicated struct. (#31360)
This commit is contained in:
@@ -911,7 +911,7 @@ static void collectModuleDependencies(ModuleDecl *TopMod,
|
||||
TopMod->getImportedModules(Imports, ImportFilter);
|
||||
|
||||
for (auto Import : Imports) {
|
||||
ModuleDecl *Mod = Import.second;
|
||||
ModuleDecl *Mod = Import.importedModule;
|
||||
if (Mod->isSystemModule())
|
||||
continue;
|
||||
// FIXME: Setup dependencies on the included headers.
|
||||
|
||||
Reference in New Issue
Block a user