Skip to content

Conversation

@patrykstefanski
Copy link

Check safe assignment patterns. This uses the infrastructure that is already available for count-attributed arguments, and checks for each assigned pointer in the group that the RHS has enough elements.

rdar://161608493

@patrykstefanski patrykstefanski self-assigned this Oct 23, 2025
@patrykstefanski patrykstefanski added the clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang label Oct 23, 2025
Copy link
Member

@hnrklssn hnrklssn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than what I've commented on

@patrykstefanski patrykstefanski force-pushed the eng/pstefanski/PR-161608493 branch from 63975c3 to a73715e Compare November 1, 2025 01:21
Check safe assignment patterns. This uses the infrastructure that is
already available for count-attributed arguments, and checks for each
assigned pointer in the group that the RHS has enough elements.

rdar://161608493
@patrykstefanski patrykstefanski force-pushed the eng/pstefanski/PR-161608493 branch from a73715e to 77d721c Compare November 1, 2025 01:31
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.

2 participants