================
@@ -2877,6 +2888,17 @@ ScalarExprEmitter::EmitScalarPrePostIncDec(const 
UnaryOperator *E, LValue LV,
   } else if (type->isIntegerType()) {
     QualType promotedType;
     bool canPerformLossyDemotionCheck = false;
+
+    // Is the pattern "while (i--)" and overflow exclusion?
+    bool disableSanitizer =
----------------
JustinStitt wrote:

You're right. I split up the logic into a new method in 
4b3efbb41ff86eeff15671b1d876e1ef6a58a536

https://github.com/llvm/llvm-project/pull/100272
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to