[NFC] Remove DeclNameRef staging calls

This commit is contained in:
Brent Royal-Gordon
2019-12-10 19:46:10 -08:00
parent addbe3e5ed
commit 6a8598a99c
50 changed files with 146 additions and 179 deletions

View File

@@ -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(DeclNameRef_(VD->getBaseName()),
auto descriptor = UnqualifiedLookupDescriptor(DeclNameRef(VD->getBaseName()),
VD->getDeclContext());
auto lookup = evaluateOrDefault(ctx.evaluator,
UnqualifiedLookupRequest{descriptor}, {});