Skip to content

Commit bfbfec1

Browse files
committed
Reorder DeclTypeRecordNodes.def so that serialization of additional attr doesn't clash with 'FIRST_PATTERN(PAREN, 200)'
1 parent 82fb5d3 commit bfbfec1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Serialization/DeclTypeRecordNodes.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ DECL(PRECEDENCE_GROUP)
134134
DECL(ACCESSOR)
135135

136136
#ifndef DECL_ATTR
137-
#define DECL_ATTR(NAME, CLASS, OPTIONS, CODE) RECORD_VAL(CLASS##_DECL_ATTR, 100+CODE)
137+
#define DECL_ATTR(NAME, CLASS, OPTIONS, CODE) RECORD_VAL(CLASS##_DECL_ATTR, 90+CODE)
138138
#endif
139139
#include "swift/AST/Attr.def"
140140

lib/Serialization/ModuleFormat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const uint16_t SWIFTMODULE_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 SWIFTMODULE_VERSION_MINOR = 546; // Avoid conflict with downstream bump
58+
const uint16_t SWIFTMODULE_VERSION_MINOR = 547; // Reorder DeclTypeRecordNodes.def
5959

6060
/// A standard hash seed used for all string hashes in a serialized module.
6161
///

0 commit comments

Comments
 (0)