mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Take DeclNameRef in UnqualifiedLookup and lookupQualified()
This commit is contained in:
@@ -499,7 +499,7 @@ void walkRelatedDecls(const ValueDecl *VD, const FnTy &Fn) {
|
||||
// For now we use unqualified lookup to fetch other declarations with the same
|
||||
// base name.
|
||||
auto &ctx = VD->getASTContext();
|
||||
auto descriptor = UnqualifiedLookupDescriptor(VD->getBaseName(),
|
||||
auto descriptor = UnqualifiedLookupDescriptor(DeclNameRef_(VD->getBaseName()),
|
||||
VD->getDeclContext());
|
||||
auto lookup = evaluateOrDefault(ctx.evaluator,
|
||||
UnqualifiedLookupRequest{descriptor}, {});
|
||||
|
||||
Reference in New Issue
Block a user