Skip to content

Conversation

@patrykstefanski
Copy link

This introduces a new warning gadget that matches assignments to __single pointers. To verify whether the assignment is safe or not, we use the same logic as for __single pointer arguments.

rdar://128158123

(cherry picked from commit 46ed789)

Conflicts:
clang/include/clang/Basic/DiagnosticSemaKinds.td

This introduces a new warning gadget that matches assignments to
__single pointers. To verify whether the assignment is safe or not, we
use the same logic as for __single pointer arguments.

rdar://128158123

(cherry picked from commit 46ed789)

Conflicts:
	clang/include/clang/Basic/DiagnosticSemaKinds.td
@patrykstefanski patrykstefanski self-assigned this Nov 12, 2025
@patrykstefanski patrykstefanski added the clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang label Nov 12, 2025
@patrykstefanski
Copy link
Author

@swift-ci test

@patrykstefanski
Copy link
Author

@swift-ci test llvm

@patrykstefanski
Copy link
Author

@swift-ci test Windows platform

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