Skip to content

Commit 81c24cd

Browse files
committed
[Serialization] Re-order block IDs to keep the doc blocks at the end
1 parent ae9d862 commit 81c24cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/swift/Serialization/ModuleFormat.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const uint16_t VERSION_MAJOR = 0;
5555
/// describe what change you made. The content of this comment isn't important;
5656
/// it just ensures a conflict if two people change the module format.
5757
/// Don't worry about adhering to the 80-column limit for this line.
58-
const uint16_t VERSION_MINOR = 454; // Last change: multiple nominal types for operators
58+
const uint16_t VERSION_MINOR = 455; // Last change: reorder block IDs
5959

6060
using DeclIDField = BCFixed<31>;
6161

@@ -529,6 +529,11 @@ enum BlockID {
529529
/// \sa options_block
530530
OPTIONS_BLOCK_ID,
531531

532+
/// The declaration member-tables index block, a sub-block of the index block.
533+
///
534+
/// \sa decl_member_tables_block
535+
DECL_MEMBER_TABLES_BLOCK_ID,
536+
532537
/// The module documentation container block, which contains all other
533538
/// documentation blocks.
534539
MODULE_DOC_BLOCK_ID = 96,
@@ -537,11 +542,6 @@ enum BlockID {
537542
///
538543
/// \sa comment_block
539544
COMMENT_BLOCK_ID,
540-
541-
/// The declaration member-tables index block, a sub-blocb of the index block.
542-
///
543-
/// \sa decl_member_tables_block
544-
DECL_MEMBER_TABLES_BLOCK_ID
545545
};
546546

547547
/// The record types within the control block.

0 commit comments

Comments
 (0)