Skip to content

Commit f40c5cf

Browse files
committed
NFC: Fix -Wdocumentation warning
1 parent 369e31e commit f40c5cf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/swift/AST/Attr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ class ImplementsAttr : public DeclAttribute {
13211321
}
13221322
};
13231323

1324-
/// A limited variant of \c @objc that's used for classes with generic ancestry.
1324+
/// A limited variant of \c \@objc that's used for classes with generic ancestry.
13251325
class ObjCRuntimeNameAttr : public DeclAttribute {
13261326
static StringRef getSimpleName(const ObjCAttr &Original) {
13271327
assert(Original.hasName());

include/swift/AST/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ class ValueDecl : public Decl {
25282528
/// value.getFormalAccessScope().getDeclContext())</code>
25292529
///
25302530
/// If \p treatUsableFromInlineAsPublic is true, declarations marked with the
2531-
/// \c @usableFromInline attribute are treated as public. This is normally
2531+
/// \c \@usableFromInline attribute are treated as public. This is normally
25322532
/// false for name lookup and other source language concerns, but true when
25332533
/// computing the linkage of generated functions.
25342534
///

lib/Sema/LookupVisibleDecls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ static void lookupVisibleMemberAndDynamicMemberDecls(
948948
/// Enumerates all keypath dynamic members of \c baseType, as seen from the
949949
/// context \c dc.
950950
///
951-
/// If \c baseType is \c @dynamicMemberLookup, this looks up any keypath
951+
/// If \c baseType is \c \@dynamicMemberLookup, this looks up any keypath
952952
/// dynamic member subscripts and looks up the members of the keypath's root
953953
/// type.
954954
static void lookupVisibleDynamicMemberLookupDecls(

0 commit comments

Comments
 (0)