Skip to content

Commit 9512cbf

Browse files
review: reword comment for DocumentationAttr
1 parent 7d9551c commit 9512cbf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/swift/AST/Attr.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,9 +2226,8 @@ class BackDeployAttr: public DeclAttribute {
22262226
}
22272227
};
22282228

2229-
/// The `@_documentation(...)` attribute, used to note a "category" for a
2230-
/// symbol to be associated with, with special cases for forcing a symbol to be
2231-
/// hidden or visible.
2229+
/// The `@_documentation(...)` attribute, used to override a symbol's visibility
2230+
/// in symbol graphs, and/or adding arbitrary metadata to it.
22322231
class DocumentationAttr: public DeclAttribute {
22332232
public:
22342233
DocumentationAttr(SourceLoc AtLoc, SourceRange Range,

0 commit comments

Comments
 (0)