[Module file] (De-)serialize inherited protocol conformances.

Swift SVN r6886
This commit is contained in:
Doug Gregor
2013-08-05 14:29:16 +00:00
parent 8956e856c6
commit 1bd583cdf8
4 changed files with 143 additions and 69 deletions

View File

@@ -194,6 +194,13 @@ private:
/// If the record at the cursor is not a pattern, returns null.
Pattern *maybeReadPattern();
/// Read the underlying conformance for a specialized or inherited
/// protocol conformance.
ProtocolConformance *
readUnderlyingConformance(ProtocolDecl *proto,
serialization::DeclID nominalID,
serialization::IdentifierID moduleOrTypeID);
/// Recursively reads a protocol conformance from \c DeclTypeCursor.
///
/// The conformance will be newly-created; it's likely that it already exists