Skip to content

Commit 32e5bdd

Browse files
committed
[clang/AttrDocs] NFC: Update SwiftAttr documentation to reflect that it can now appear on types
1 parent 6f17412 commit 32e5bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4372,8 +4372,8 @@ def SwiftAttrDocs : Documentation {
43724372
let Heading = "swift_attr";
43734373
let Content = [{
43744374
The ``swift_attr`` provides a Swift-specific annotation for the declaration
4375-
to which the attribute appertains to. It can be used on any declaration
4376-
in Clang. This kind of annotation is ignored by Clang as it doesn't have any
4375+
or type to which the attribute appertains to. It can be used on any declaration
4376+
or type in Clang. This kind of annotation is ignored by Clang as it doesn't have any
43774377
semantic meaning in languages supported by Clang. The Swift compiler can
43784378
interpret these annotations according to its own rules when importing C or
43794379
Objective-C declarations.

0 commit comments

Comments
 (0)