mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Thread DeclNameRef through most of the compiler
This huge commit contains as many of the mechanical changes as possible.
This commit is contained in:
@@ -82,6 +82,11 @@ namespace swift {
|
||||
ArrayRef<ValueDecl*> getMemberDecls(InterestedMemberKind Kind);
|
||||
};
|
||||
|
||||
/// Look up a member with the given name in the given type.
|
||||
///
|
||||
/// Unlike other member lookup functions, \c swift::resolveValueMember()
|
||||
/// should be used when you want to look up declarations with the same name as
|
||||
/// one you already have.
|
||||
ResolvedMemberResult resolveValueMember(DeclContext &DC, Type BaseTy,
|
||||
DeclName Name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user