Skip to content

Conversation

@delcypher
Copy link

The new code generated when strlen/wcslen are recognized as a loop idiom is worse because the loop body doesn't get removed after the transform. We should fix but for now clarify the comments and refer to the upstream issue and internal radar tracking the problem (rdar://148775324).

rdar://148605489

The new code generated when strlen/wcslen are recognized as a loop
idiom is worse because the loop body doesn't get removed after the
transform. We should fix but for now clarify the comments and refer to
the upstream issue and internal radar tracking the problem
(rdar://148775324).

rdar://148605489
@delcypher delcypher added the clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang label Apr 7, 2025
@delcypher delcypher merged commit 99b6bb1 into next Apr 7, 2025
@delcypher delcypher deleted the dliew/rdar-148605489 branch April 7, 2025 22:33
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