[-Wunsafe-buffer-usage] Emit warnings about unsafe operations on arrays
authorRashmi Mudduluru <r_mudduluru@apple.com>
Wed, 18 Jan 2023 00:28:23 +0000 (16:28 -0800)
committerRashmi Mudduluru <r_mudduluru@apple.com>
Wed, 18 Jan 2023 00:30:13 +0000 (16:30 -0800)
commitfe93da22aa7bd57e277571cd692c7c0cc51c0478
tree38f70886d498709b6bde6275a10234fe3ee17311
parent1ee2905764c90a001d8b2d41dc672a7720dcdbec
[-Wunsafe-buffer-usage] Emit warnings about unsafe operations on arrays

Differential Revision: https://reviews.llvm.org/D141725/new/
clang/lib/Analysis/UnsafeBufferUsage.cpp
clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp