Fix up a bunch of filtering-by-decl-access-path.

Mostly cleanup, a few filled-in FIXMEs to filter out decls that don't match
the access path name.

Swift SVN r6850
This commit is contained in:
Jordan Rose
2013-08-02 21:00:28 +00:00
parent c92fa28833
commit f03245a206
5 changed files with 34 additions and 17 deletions

View File

@@ -407,8 +407,6 @@ void Module::forAllVisibleModules(Optional<AccessPathTy> thisPath, F fn) {
if (thisPath.hasValue()) {
queue.push_back(ImportedModule(thisPath.getValue(), this));
} else {
// FIXME: The same module with different access paths may have different
// re-exports.
visited.insert(ImportedModule({}, this));
getReexportedModules(queue);
}