[PATCH] D137348: [-Wunsafe-buffer-usage] Introduce an abstraction for fixable code patterns.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 16 15:45:32 PST 2022
MaskRay added inline comments.
================
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:165
+ assert(numFound <= 1 && "Conflicting bind tags in gadgets!");
+ (void)numFound;
}
----------------
numFound was undefined in non-assertion builds. Fixed in 893a0ea948a65421013b62bd1855e430ca184739
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137348/new/
https://reviews.llvm.org/D137348
More information about the cfe-commits
mailing list