Augment GenericTypeParamDecl with bits indicating they came from opaque types

This commit is contained in:
Doug Gregor
2022-01-25 13:10:42 -08:00
parent 7dc36c3092
commit 0416ec708b
12 changed files with 122 additions and 38 deletions

View File

@@ -56,7 +56,7 @@ const uint16_t SWIFTMODULE_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 SWIFTMODULE_VERSION_MINOR = 664; // parametrized protocols
const uint16_t SWIFTMODULE_VERSION_MINOR = 665; // opaque type param bits
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1223,7 +1223,8 @@ namespace decls_block {
BCFixed<1>, // implicit flag
BCFixed<1>, // type sequence?
BCVBR<4>, // depth
BCVBR<4> // index
BCVBR<4>, // index
BCFixed<1> // opaque type?
>;
using AssociatedTypeDeclLayout = BCRecordLayout<