mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: loadNamedMembers() never fails
This allows us to simplify lookupDirect() a fair bit as well.
This commit is contained in:
@@ -2376,7 +2376,7 @@ void ModuleFile::loadObjCMethods(
|
||||
}
|
||||
}
|
||||
|
||||
Optional<TinyPtrVector<ValueDecl *>>
|
||||
TinyPtrVector<ValueDecl *>
|
||||
ModuleFile::loadNamedMembers(const IterableDeclContext *IDC, DeclBaseName N,
|
||||
uint64_t contextData) {
|
||||
PrettyStackTraceDecl trace("loading members for", IDC->getDecl());
|
||||
|
||||
Reference in New Issue
Block a user