Skip to content

[Cherry-Pick][Wunsafe-buffer-usage] Fix false positives in handling string literals. (#115552) #9619

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
Nov 19, 2024

Conversation

malavikasamak
Copy link

Do not warn when a string literal is indexed and the idex value is within the bounds of the length of the string.

(rdar://139106996)

Co-authored-by: MalavikaSamak [email protected]
(cherry picked from commit da032a6)

…s. (llvm#115552)

Do not warn when a string literal is indexed and the idex value is
within the bounds of the length of the string.

(rdar://139106996)

Co-authored-by: MalavikaSamak <[email protected]>
(cherry picked from commit da032a6)
@malavikasamak
Copy link
Author

@swift-ci test

@malavikasamak malavikasamak merged commit 4ac4822 into stable/20240723 Nov 19, 2024
3 checks passed
@malavikasamak malavikasamak deleted the msamak-cherrypick-fp-stringliterals branch November 19, 2024 02:11
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