[NFC] Add type for ModuleDecl::getImplicitImports()

This doesn’t really change the design yet.
This commit is contained in:
Brent Royal-Gordon
2020-09-25 16:26:39 -07:00
parent 8070e8aaed
commit d55c5bd549
9 changed files with 45 additions and 21 deletions

View File

@@ -56,7 +56,6 @@ namespace swift {
class FuncDecl;
class InfixOperatorDecl;
class LinkLibrary;
struct ImplicitImport;
class ModuleLoader;
class NominalTypeDecl;
class EnumElementDecl;
@@ -278,7 +277,7 @@ public:
/// Retrieve a list of modules that each file of this module implicitly
/// imports.
ArrayRef<ImplicitImport> getImplicitImports() const;
ImplicitImportList getImplicitImports() const;
ArrayRef<FileUnit *> getFiles() {
assert(!Files.empty() || failedToLoad());