mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[serialization] Serialize protocol conformances instead of ignoring them.
For some reason this didn't actually affect any testing, but it's going to be necessary very soon. Swift SVN r5987
This commit is contained in:
@@ -35,6 +35,7 @@ class DeclContext;
|
||||
class GenericParamList;
|
||||
class Module;
|
||||
class Pattern;
|
||||
class ProtocolConformance;
|
||||
class ValueDecl;
|
||||
|
||||
/// Describes whether a loaded module can be used.
|
||||
@@ -142,6 +143,11 @@ private:
|
||||
/// If the record at the cursor is not a pattern, returns null.
|
||||
Pattern *maybeReadPattern();
|
||||
|
||||
/// Recursively reads a protocol conformance from \c DeclTypeCursor.
|
||||
///
|
||||
/// If the record at the cursor is not a protocol conformance, returns null.
|
||||
ProtocolConformance *maybeReadConformance();
|
||||
|
||||
/// Reads a generic param list from \c DeclTypeCursor.
|
||||
///
|
||||
/// If the record at the cursor is not a generic param list, returns null
|
||||
|
||||
Reference in New Issue
Block a user