mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Create new 'invalid' state for ProtocolConformanceRef
This commit is contained in:
@@ -55,7 +55,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// describe what change you made. The content of this comment isn't important;
|
||||
/// it just ensures a conflict if two people change the module format.
|
||||
/// Don't worry about adhering to the 80-column limit for this line.
|
||||
const uint16_t VERSION_MINOR = 426; // SIL key path external components with local attempts
|
||||
const uint16_t VERSION_MINOR = 427; // Invalid conformances
|
||||
|
||||
using DeclIDField = BCFixed<31>;
|
||||
|
||||
@@ -1287,6 +1287,11 @@ namespace decls_block {
|
||||
DeclIDField // the protocol
|
||||
>;
|
||||
|
||||
/// A placeholder for an invalid conformance.
|
||||
using InvalidProtocolConformanceLayout = BCRecordLayout<
|
||||
INVALID_PROTOCOL_CONFORMANCE
|
||||
>;
|
||||
|
||||
using NormalProtocolConformanceLayout = BCRecordLayout<
|
||||
NORMAL_PROTOCOL_CONFORMANCE,
|
||||
DeclIDField, // the protocol
|
||||
|
||||
Reference in New Issue
Block a user