Skip to content

Commit 7be5ad0

Browse files
review: reword comment for DocumentationAttr
1 parent ccbac9d commit 7be5ad0

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
@@ -2244,9 +2244,8 @@ class ExposeAttr : public DeclAttribute {
22442244
}
22452245
};
22462246

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

0 commit comments

Comments
 (0)