[clang] [Clang] Optimize -Wunsafe-buffer-usage. (PR #125492)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 03:49:41 PST 2025
================
@@ -1189,29 +1353,40 @@ class PointerArithmeticGadget : public WarningGadget {
const Expr *Ptr; // the pointer expression in `PA`
public:
- PointerArithmeticGadget(const MatchFinder::MatchResult &Result)
+ PointerArithmeticGadget(const MatchResult &Result)
----------------
ilya-biryukov wrote:
Note to self: continue review from here.
https://github.com/llvm/llvm-project/pull/125492
More information about the cfe-commits
mailing list