Skip to content

🍒[Clang] Use [[clang::lifetimebound]] syntax when supported #11121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

egorzhdan
Copy link

This allows the usage of __lifetimebound for the implicit self parameter, while keeping it possible to use it in C code.

rdar://157316328

Original PR: #11107

This allows the usage of `__lifetimebound` for the implicit self parameter, while keeping it possible to use it in C code.

rdar://157316328
@egorzhdan
Copy link
Author

@swift-ci please test LLVM

@egorzhdan
Copy link
Author

The CI failures are unrelated.

@egorzhdan egorzhdan merged commit 66f2f61 into stable/21.x Aug 6, 2025
0 of 2 checks passed
@egorzhdan egorzhdan deleted the egorzhdan/lifetimebound-syntax-21 branch August 6, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant