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) {
97229722 return " accessor" ;
97239723
97249724 case MacroRole::MemberAttribute:
9725- return " memberAttributes " ;
9725+ return " memberAttribute " ;
97269726
97279727 case MacroRole::Member:
97289728 return " member" ;
Original file line number Diff line number Diff line change @@ -2192,7 +2192,7 @@ static Optional<MacroRole> getMacroRole(
21922192 .Case (" declaration" , MacroRole::Declaration)
21932193 .Case (" expression" , MacroRole::Expression)
21942194 .Case (" accessor" , MacroRole::Accessor)
2195- .Case (" memberAttributes " , MacroRole::MemberAttribute)
2195+ .Case (" memberAttribute " , MacroRole::MemberAttribute)
21962196 .Case (" member" , MacroRole::Member)
21972197 .Default (None);
21982198
Original file line number Diff line number Diff line change 99// FIXME: Swift parser is not enabled on Linux CI yet.
1010// REQUIRES: OS=macosx
1111
12- @attached ( memberAttributes )
12+ @attached ( memberAttribute )
1313@attached ( member)
1414macro myTypeWrapper( ) = #externalMacro( module: " MacroDefinition " , type: " TypeWrapperMacro " )
1515@attached ( accessor) macro accessViaStorage( ) = #externalMacro( module: " MacroDefinition " , type: " AccessViaStorageMacro " )
Original file line number Diff line number Diff line change 99// FIXME: Swift parser is not enabled on Linux CI yet.
1010// REQUIRES: OS=macosx
1111
12- @attached ( memberAttributes ) macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
12+ @attached ( memberAttribute ) macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
1313
1414@propertyWrapper
1515struct Wrapper < T> {
Original file line number Diff line number Diff line change 44
55@attached ( accessor) public macro myWrapper( ) = #externalMacro( module: " MacroDefinition " , type: " MyWrapperMacro " )
66
7- @attached ( memberAttributes ) public macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
7+ @attached ( memberAttribute ) public macro wrapAllProperties( ) = #externalMacro( module: " MacroDefinition " , type: " WrapAllProperties " )
88
99// Make sure that macro custom attributes are not serialized.
1010@wrapAllProperties
You can’t perform that action at this time.
0 commit comments