[NFC] Take DeclNameRef in UnqualifiedLookup and lookupQualified()

This commit is contained in:
Brent Royal-Gordon
2019-12-10 19:46:10 -08:00
parent 9a57554bdf
commit da88512eda
25 changed files with 64 additions and 68 deletions

View File

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