AST: Replace PrimaryAssociatedTypeAttr with AssociatedTypeDecl::isPrimary() flag

This commit is contained in:
Slava Pestov
2022-03-02 21:56:42 -05:00
parent 7dfc2a20fb
commit a013cd2076
10 changed files with 25 additions and 16 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 = 674; // decl block renumbering
const uint16_t SWIFTMODULE_VERSION_MINOR = 675; // primary associated types
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1233,6 +1233,7 @@ namespace decls_block {
DeclContextIDField, // context decl
TypeIDField, // default definition
BCFixed<1>, // implicit flag
BCFixed<1>, // is primary
BCArray<DeclIDField> // overridden associated types
>;