Start refactoring code towards a single complete implementation of unqualified lookup.

Swift SVN r2108
This commit is contained in:
Eli Friedman
2012-06-01 01:37:44 +00:00
parent 05ac354bce
commit 0e7ef8cebb
12 changed files with 117 additions and 124 deletions

View File

@@ -99,12 +99,6 @@ public:
/// extending the specified type and return a list of them.
ArrayRef<ExtensionDecl*> lookupExtensions(Type T);
/// lookupGlobalValue - Perform a value lookup within the current Module.
/// Unlike lookupValue, this does look through import declarations to resolve
/// the name.
void lookupGlobalValue(Identifier Name, NLKind LookupKind,
SmallVectorImpl<ValueDecl*> &Result);
/// lookupMembers - Lookup the members for the specified BaseType with
/// the specified name, and return them in Result. This looks in both the
/// type declaration itself and in extensions.