Skip to content

Commit 2c9358b

Browse files
[docs] Add reference to documentation in Attr.def to nudge people.
I noticed that new underscored attributes get added to the end of the file, so I put the suggestion to add docs at the end instead of the beginning.
1 parent 585ba57 commit 2c9358b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/swift/AST/Attr.def

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,9 @@ SIMPLE_DECL_ATTR(_assemblyVision, EmitAssemblyVisionRemarks,
670670
ABIStableToAdd | ABIStableToRemove | APIStableToAdd | APIStableToRemove,
671671
120)
672672

673+
// If you're adding a new underscored attribute here, please document it in
674+
// docs/ReferenceGuides/UnderscoredAttributes.md.
675+
673676
#undef TYPE_ATTR
674677
#undef DECL_ATTR_ALIAS
675678
#undef CONTEXTUAL_DECL_ATTR_ALIAS

0 commit comments

Comments
 (0)