[Serialization] Sink readMembers into its only caller.

The next commit is going to want to look at the container whose
members are being loaded.
This commit is contained in:
Jordan Rose
2017-04-11 16:47:19 -07:00
parent 7397340ca8
commit b76774f53d
2 changed files with 47 additions and 64 deletions

View File

@@ -526,15 +526,6 @@ private:
GenericContext *genericDecl,
serialization::GenericEnvironmentID envID);
/// Populates the vector with members of a DeclContext from \c DeclTypeCursor.
///
/// Returns true if there is an error.
///
/// Note: this destroys the cursor's position in the stream. Furthermore,
/// because it reads from the cursor, it is not possible to reset the cursor
/// after reading. Nothing should ever follow a MEMBERS record.
bool readMembers(SmallVectorImpl<Decl *> &Members);
/// Populates the protocol's default witness table.
///
/// Returns true if there is an error.