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:
@@ -3177,7 +3177,7 @@ class ObjCSelectorWalker : public ASTWalker {
|
||||
auto nominal = method->getDeclContext()->getSelfNominalTypeDecl();
|
||||
auto result = TypeChecker::lookupMember(
|
||||
const_cast<DeclContext *>(DC), nominal->getDeclaredInterfaceType(),
|
||||
lookupName,
|
||||
DeclNameRef_(lookupName),
|
||||
(defaultMemberLookupOptions | NameLookupFlags::KnownPrivate));
|
||||
|
||||
// If we didn't find multiple methods, there is no ambiguity.
|
||||
|
||||
Reference in New Issue
Block a user