Skip to content

Commit 4ab868f

Browse files
committed
[cxx-interop] Fix link to lifetimebound llvm doc
Currently this points to the right page but wrong topic.
1 parent 8404c03 commit 4ab868f

File tree

1 file changed

+1
-1
lines changed
  • documentation/cxx-interop/safe-interop

1 file changed

+1
-1
lines changed

documentation/cxx-interop/safe-interop/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Some containers and protocols do not yet support non-escapable types in Swift 6.
113113
114114
Building the code again will emit a new diagnostic for the `fileName` function about
115115
missing lifetime annotations. C and C++ functions that return non-escapable types need annotations
116-
to describe their lifetime contracts via [lifetimebound](https://clang.llvm.org/docs/AttributeReference.html#id8)
116+
to describe their lifetime contracts via [lifetimebound](https://clang.llvm.org/docs/AttributeReference.html#lifetimebound)
117117
and [lifetime_capture_by](https://clang.llvm.org/docs/AttributeReference.html#lifetime-capture-by) annotations.
118118
Not all versions of C and C++ support the `[[clang::lifetimebound]]` attribute syntax. Convenience macros for
119119
lifetime annotations using the GNU style attribute syntax are available in the `lifetimebound.h` header, and we'll

0 commit comments

Comments
 (0)