mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
s/DC/container/ in Module::lookupMember, for clarification.
This is the container of the member, not the context from which lookup is being performed. No functionality change. Swift SVN r21784
This commit is contained in:
@@ -307,12 +307,16 @@ public:
|
||||
LookupConformanceResult
|
||||
lookupConformance(Type type, ProtocolDecl *protocol, LazyResolver *resolver);
|
||||
|
||||
/// Find a member named \p name in \p DC that was declared in this module.
|
||||
/// Find a member named \p name in \p container that was declared in this
|
||||
/// module.
|
||||
///
|
||||
/// \p container may be \c this for a top-level lookup.
|
||||
///
|
||||
/// If \p privateDiscriminator is non-empty, only matching private decls are
|
||||
/// returned; otherwise, only non-private decls are returned.
|
||||
void lookupMember(SmallVectorImpl<ValueDecl*> &results, const DeclContext *DC,
|
||||
DeclName name, Identifier privateDiscriminator,
|
||||
void lookupMember(SmallVectorImpl<ValueDecl*> &results,
|
||||
const DeclContext *container, DeclName name,
|
||||
Identifier privateDiscriminator,
|
||||
bool lookIntoExtensions = true) const;
|
||||
|
||||
/// \sa getImportedModules
|
||||
|
||||
Reference in New Issue
Block a user