[clang] [Clang] Overflow Pattern Exclusions (PR #100272)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 8 17:31:20 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list