Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentation/cxx-interop/safe-interop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Some containers and protocols do not yet support non-escapable types in Swift 6.
Building the code again will emit a new diagnostic for the `fileName` function about
missing lifetime annotations. C and C++ functions that return non-escapable types need annotations
to describe their lifetime contracts via [lifetimebound](https://clang.llvm.org/docs/AttributeReference.html#id8)
to describe their lifetime contracts via [lifetimebound](https://clang.llvm.org/docs/AttributeReference.html#lifetimebound)
and [lifetime_capture_by](https://clang.llvm.org/docs/AttributeReference.html#lifetime-capture-by) annotations.
Not all versions of C and C++ support the `[[clang::lifetimebound]]` attribute syntax. Convenience macros for
lifetime annotations using the GNU style attribute syntax are available in the `lifetimebound.h` header, and we'll
Expand Down