Commits

Doug Gregor committed bce5c20c25c
Teach loadAllMembers() implementations to add the members themselves. The contract for LazyResolver::loadAllMembers() was that the caller would handle actually adding the members, since it was an iterable declaration context and could centralize that (simple) logic. However, this fails in the Clang importer in rare but amusing ways when some of the deferred actions (e.g., finishing a protocol conformance) depend on having the members already set. The deferred action occurs after the member list is complete in ClangImporter's loadAllMembers(), but before its caller actual set the member list, leaving incomplete conformances. Fixes rdar://problem/18884272. Swift SVN r25630