aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/builtin-functions.cpp
diff options
context:
space:
mode:
authorMalavika Samak <malavika.samak@gmail.com>2024-12-12 13:27:39 +0530
committerGitHub <noreply@github.com>2024-12-12 13:27:39 +0530
commit9c50182bf4942f88cc9876eb29e70802448cddc8 (patch)
tree8db1acec72196e1a4e00562fa2894d1b2b3b2fcd /clang/test/AST/ByteCode/builtin-functions.cpp
parent9992b1624303262407ff82413563f39ba40544a0 (diff)
downloadllvm-9c50182bf4942f88cc9876eb29e70802448cddc8.zip
llvm-9c50182bf4942f88cc9876eb29e70802448cddc8.tar.gz
llvm-9c50182bf4942f88cc9876eb29e70802448cddc8.tar.bz2
[-Wunsafe-buffer-usage] Suppress warning for multi-dimensional constant arrays (#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>
Diffstat (limited to 'clang/test/AST/ByteCode/builtin-functions.cpp')
0 files changed, 0 insertions, 0 deletions