Module::getImportedModules can now get public, private, or all imports.

...whereas before the only options were "public" and "all".

No functionality change.

Swift SVN r13849
This commit is contained in:
Jordan Rose
2014-02-12 23:57:43 +00:00
parent 268316f375
commit 7995dde448
11 changed files with 55 additions and 32 deletions

View File

@@ -350,10 +350,8 @@ public:
OperatorDecl *lookupOperator(Identifier name, DeclKind fixity);
/// Adds any imported modules to the given vector.
///
/// Unless \p includePrivate is true, only re-exported modules are included.
void getImportedModules(SmallVectorImpl<Module::ImportedModule> &results,
bool includePrivate);
Module::ImportFilter filter);
void getImportDecls(SmallVectorImpl<Decl *> &Results);