[clang] [Clang] Add wraps attribute (for granular integer overflow handling) (PR #86618)

Bill Wendling via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 14:47:18 PDT 2024


================
@@ -2831,6 +2840,9 @@ ScalarExprEmitter::EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV,
   } else if (type->isIntegerType()) {
     QualType promotedType;
     bool canPerformLossyDemotionCheck = false;
+    BinOpInfo Ops = (createBinOpInfoFromIncDec(
----------------
bwendling wrote:

You probably don't need parens around the `createBinOpInforFromIncDec` call.

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


More information about the cfe-commits mailing list