Skip to content

Conversation

@malavikasamak
Copy link

Do not warn about unsafe buffer access, when multi-dimensional constant arrays are accessed and their indices are within the bounds of the buffer. Warning in such cases would be a false positive. Such a suppression already exists for 1-d
arrays and it is now extended to multi-dimensional arrays.

(rdar://137926311)
(rdar://140320139)

Co-authored-by: MalavikaSamak malavika2@apple.com
(cherry picked from commit 9c50182)

…nt arrays (llvm#118249)

Do not warn about unsafe buffer access, when multi-dimensional constant
arrays are accessed and their indices are within the bounds of the
buffer. Warning in such cases would be a false positive. Such a
suppression already exists for 1-d
arrays and it is now extended to multi-dimensional arrays.

(rdar://137926311)
(rdar://140320139)

Co-authored-by: MalavikaSamak <malavika2@apple.com>
(cherry picked from commit 9c50182)
@malavikasamak malavikasamak requested a review from a team as a code owner December 13, 2024 10:06
@malavikasamak
Copy link
Author

@swift-ci test

@malavikasamak malavikasamak merged commit 2db41f9 into stable/20240723 Dec 13, 2024
3 checks passed
@malavikasamak malavikasamak deleted the msamak-cherry-pick-fp-mulitd-array branch December 13, 2024 21:25
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.

2 participants