[Serialization] Serialize hasMissingDesignatedInitializers

Since this is going to be something modules tell clients, rather than something clients discover about modules, serialize it.
This commit is contained in:
Harlan Haskins
2019-11-19 16:46:22 -08:00
committed by Robert Widmann
parent b133b7e3da
commit 8e45f44da4
3 changed files with 11 additions and 6 deletions

View File

@@ -55,7 +55,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 = 531; // function parameter noDerivative
const uint16_t SWIFTMODULE_VERSION_MINOR = 532; // @_hasMissingDesignatedInitializers
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1114,6 +1114,7 @@ namespace decls_block {
BCFixed<1>, // implicit?
BCFixed<1>, // explicitly objc?
BCFixed<1>, // inherits convenience initializers from its superclass?
BCFixed<1>, // has missing designated initializers?
GenericSignatureIDField, // generic environment
TypeIDField, // superclass
AccessLevelField, // access level