[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

@@ -2232,7 +2232,7 @@ void ModuleFile::getImportDecls(SmallVectorImpl<Decl *> &Results) {
SmallVector<ValueDecl *, 8> Decls;
TopLevelModule->lookupQualified(
TopLevelModule, DeclNameRef_(ScopeID),
TopLevelModule, DeclNameRef(ScopeID),
NL_QualifiedDefault | NL_KnownNoDependency, Decls);
Optional<ImportKind> FoundKind = ImportDecl::findBestImportKind(Decls);
assert(FoundKind.hasValue() &&