File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9722,7 +9722,7 @@ StringRef swift::getMacroRoleString(MacroRole role) {
9722
9722
return " accessor" ;
9723
9723
9724
9724
case MacroRole::MemberAttribute:
9725
- return " memberAttributes " ;
9725
+ return " memberAttribute " ;
9726
9726
9727
9727
case MacroRole::Member:
9728
9728
return " member" ;
Original file line number Diff line number Diff line change @@ -2192,7 +2192,7 @@ static Optional<MacroRole> getMacroRole(
2192
2192
.Case (" declaration" , MacroRole::Declaration)
2193
2193
.Case (" expression" , MacroRole::Expression)
2194
2194
.Case (" accessor" , MacroRole::Accessor)
2195
- .Case (" memberAttributes " , MacroRole::MemberAttribute)
2195
+ .Case (" memberAttribute " , MacroRole::MemberAttribute)
2196
2196
.Case (" member" , MacroRole::Member)
2197
2197
.Default (None);
2198
2198
Original file line number Diff line number Diff line change 9
9
// FIXME: Swift parser is not enabled on Linux CI yet.
10
10
// REQUIRES: OS=macosx
11
11
12
- @attached ( memberAttributes )
12
+ @attached ( memberAttribute )
13
13
@attached ( member)
14
14
macro myTypeWrapper( ) = #externalMacro( module: " MacroDefinition " , type: " TypeWrapperMacro " )
15
15
@attached ( accessor) macro accessViaStorage( ) = #externalMacro( module: " MacroDefinition " , type: " AccessViaStorageMacro " )
Original file line number Diff line number Diff line change 9
9
// FIXME: Swift parser is not enabled on Linux CI yet.
10
10
// REQUIRES: OS=macosx
11
11
12
- @attached ( memberAttributes ) macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
12
+ @attached ( memberAttribute ) macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
13
13
14
14
@propertyWrapper
15
15
struct Wrapper < T> {
Original file line number Diff line number Diff line change 4
4
5
5
@attached ( accessor) public macro myWrapper( ) = #externalMacro( module: " MacroDefinition " , type: " MyWrapperMacro " )
6
6
7
- @attached ( memberAttributes ) public macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
7
+ @attached ( memberAttribute ) public macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
8
8
9
9
// Make sure that macro custom attributes are not serialized.
10
10
@wrapAllProperties
You can’t perform that action at this time.
0 commit comments