Skip to content

🍒 [BoundsSafety] Do not merge param/return types if there is no need to #10934

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

Open
wants to merge 1 commit into
base: swift/release/6.2
Choose a base branch
from

Conversation

patrykstefanski
Copy link

If pointers don't have any interesting attributes, there is no need to attempt to merge the types, and we can keep the type unchanged. This will let us keep the sugars used in the new declaration.

rdar://153579566
(cherry picked from commit 0353029)

If pointers don't have any interesting attributes, there is no need to
attempt to merge the types, and we can keep the type unchanged. This
will let us keep the sugars used in the new declaration.

rdar://153579566
(cherry picked from commit 0353029)
@patrykstefanski patrykstefanski requested a review from a team as a code owner June 30, 2025 23:10
@patrykstefanski patrykstefanski added the clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang label Jun 30, 2025
@patrykstefanski
Copy link
Author

@swift-ci test

@patrykstefanski
Copy link
Author

@swift-ci test llvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant