[PATCH] D137379: [-Wunsafe-buffer-usage] Add warnings for unsafe buffer accesses by array subscript operations

Ziqing Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 17:02:44 PST 2022


ziqingluo-90 updated this revision to Diff 480703.
ziqingluo-90 added a comment.

Addressing all the comments we have so far.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137379/new/

https://reviews.llvm.org/D137379

Files:
  clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
  clang/lib/Analysis/UnsafeBufferUsage.cpp
  clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137379.480703.patch
Type: text/x-patch
Size: 4371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221207/6c92515d/attachment.bin>


More information about the cfe-commits mailing list