mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eagerly update a protocol's "has missing required members" flag.
Rather than plumbing a "has missing required members" flag all the way through the LazyResolver's loadAllMembers and its implementations, just eagerly update the "has missing required members" flag in the Clang importer when it happens. More NFC cleanup.
This commit is contained in:
@@ -3919,9 +3919,7 @@ Type ModuleFile::getType(TypeID TID) {
|
||||
return typeOrOffset;
|
||||
}
|
||||
|
||||
void ModuleFile::loadAllMembers(Decl *D,
|
||||
uint64_t contextData,
|
||||
bool *) {
|
||||
void ModuleFile::loadAllMembers(Decl *D, uint64_t contextData) {
|
||||
PrettyStackTraceDecl trace("loading members for", D);
|
||||
|
||||
BCOffsetRAII restoreOffset(DeclTypeCursor);
|
||||
|
||||
Reference in New Issue
Block a user