Add '@_alwaysEmitConformanceMetadata' protocol attribute

This attribute will, in the near future, be used to inform IRGen that a nominal type that conforms to such protocol must have its type metadata always emitted into the binary, regardless of whether it is used/public.
This commit is contained in:
Artem Chikin
2022-08-02 15:12:29 -07:00
parent a8dbc5f40b
commit 4e2c1d16f6
8 changed files with 66 additions and 1 deletions

View File

@@ -58,7 +58,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 = 698; // opaque decl with unavailability conditions
const uint16_t SWIFTMODULE_VERSION_MINOR = 699; // @_alwaysEmitConformanceMetadata
/// A standard hash seed used for all string hashes in a serialized module.
///