Remove NLOptions::NL_Known*

This commit is contained in:
Robert Widmann
2020-07-23 18:28:26 -07:00
parent ee35a4fe18
commit 7bee5ffc0c
9 changed files with 15 additions and 54 deletions

View File

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