Merge remote-tracking branch 'origin/main' into serialize-hidden-type-layout

This commit is contained in:
Xi Ge
2026-05-15 10:12:20 -07:00
71 changed files with 3177 additions and 635 deletions
+7 -1
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 = 1002; // Hidden type layout block
const uint16_t SWIFTMODULE_VERSION_MINOR = 1003; // Hidden type layout block
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -2596,6 +2596,12 @@ namespace decls_block {
>;
#include "swift/AST/DeclAttr.def"
using PreInverseGenericsDeclAttrLayout = BCRecordLayout<
PreInverseGenerics_DECL_ATTR,
BCFixed<1>, // implicit
TypeIDField // except type
>;
using DynamicReplacementDeclAttrLayout = BCRecordLayout<
DynamicReplacement_DECL_ATTR,
BCFixed<1>, // implicit flag