================ @@ -147,6 +147,15 @@ struct BinOpInfo { return UnOp->getSubExpr()->getType()->isFixedPointType(); return false; } + + /// Does the BinaryOperator have the wraps attribute? + /// If so, we can ellide overflow sanitizer checks. + bool oneOfWraps() const { + const Type *TyPtr = E->getType().getTypePtrOrNull(); + if (TyPtr) ---------------- JustinStitt wrote:
Gotcha, checkout a2f63982920f22d795c4971800bcc5cb55356570 https://github.com/llvm/llvm-project/pull/86618 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits