[Serialization] A module that shadows a system module, should be considered a system one as well.

Fixes rdar://16092932

Swift SVN r14263
This commit is contained in:
Argyrios Kyrtzidis
2014-02-22 18:56:04 +00:00
parent 058ab5a6a1
commit 9873694a88
4 changed files with 22 additions and 0 deletions

View File

@@ -342,6 +342,9 @@ public:
return Dependencies;
}
/// The module shadowed by this module, if any.
Module *getShadowedModule() const { return ShadowedModule; }
/// Searches the module's top-level decls for the given identifier.
void lookupValue(Identifier name, SmallVectorImpl<ValueDecl*> &results);