[PATCH] D143128: [-Wunsafe-buffer-usage] Fix-Its transforming `&DRE[any]` to `(DRE.data() + any)`
Ziqing Luo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 17 13:46:27 PST 2023
ziqingluo-90 added inline comments.
================
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:849
// in one `anyOf` group (for better performance via short-circuiting).
- stmt(anyOf(
+ stmt(eachOf(
#define FIXABLE_GADGET(x) \
----------------
Change from `anyOf` to `eachOf`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143128/new/
https://reviews.llvm.org/D143128
More information about the cfe-commits
mailing list