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:
Doug Gregor
2015-12-23 13:34:40 -08:00
parent 1092704f78
commit 7c0c092004
6 changed files with 34 additions and 42 deletions

View File

@@ -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);