Skip to content

Commit a317689

Browse files
committed
[Sema] Make @_originallyDefinedIn a long attribute
The compiler will print the attributes on their own lines as we tend to write them in the tests. It should make the attributes more easily readable in the generated swiftinterfaces and such.
1 parent cc45a70 commit a317689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Attr.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ SIMPLE_DECL_ATTR(IBSegueAction, IBSegueAction,
534534

535535
DECL_ATTR(_originallyDefinedIn, OriginallyDefinedIn,
536536
OnNominalType | OnFunc | OnVar | OnExtension | UserInaccessible |
537-
AllowMultipleAttributes |
537+
AllowMultipleAttributes | LongAttribute |
538538
ABIBreakingToAdd | ABIBreakingToRemove | APIStableToAdd | APIStableToRemove,
539539
96)
540540

0 commit comments

Comments
 (0)