mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user