[PATCH] D144064: [-Wunsafe-buffer-usage] Match unsafe pointers being casted to bool or participating in pointer subtractions

Ziqing Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 20 14:46:53 PDT 2023


ziqingluo-90 updated this revision to Diff 506733.
ziqingluo-90 marked 2 inline comments as done.
ziqingluo-90 added a comment.

Address comments


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

https://reviews.llvm.org/D144064

Files:
  clang/lib/Analysis/UnsafeBufferUsage.cpp
  clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-addressof-arraysubscript.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144064.506733.patch
Type: text/x-patch
Size: 4860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230320/4aeb94d4/attachment.bin>


More information about the cfe-commits mailing list