[clang] [Clang] add wraps and no_wraps attributes (PR #115094)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 15:04:01 PST 2024


================
@@ -4870,6 +4884,10 @@ BinaryOperator::BinaryOperator(const ASTContext &Ctx, Expr *lhs, Expr *rhs,
   if (hasStoredFPFeatures())
     setStoredFPFeatures(FPFeatures);
   setDependence(computeDependence(this));
+  if (hasWrappingOperand(Ctx))
----------------
erichkeane wrote:

Same problem here.

https://github.com/llvm/llvm-project/pull/115094


More information about the cfe-commits mailing list