Skip to content

Commit 1e96488

Browse files
committed
[RemoteMirror] Use __attribute__((deprecated)) instead of [[deprecated]].
Use __attribute__((deprecated)) in SwiftRemoteMirror.h as it needs to be includable from C.
1 parent b01dbc5 commit 1e96488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SwiftRemoteMirror/SwiftRemoteMirror.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ swift_reflection_typeRefForMangledTypeName(SwiftReflectionContextRef ContextRef,
188188
///
189189
/// The returned string is heap allocated and the caller must free() it when
190190
/// done.
191-
[[deprecated("Please use swift_reflection_copyNameForTypeRef()")]]
191+
__attribute__((deprecated("Please use swift_reflection_copyNameForTypeRef()")))
192192
SWIFT_REMOTE_MIRROR_LINKAGE
193193
char *
194194
swift_reflection_copyDemangledNameForTypeRef(

0 commit comments

Comments
 (0)