[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 18:01:05 PDT 2024


================
@@ -3860,6 +3860,7 @@ class CStyleCastExpr final
 class BinaryOperator : public Expr {
   enum { LHS, RHS, END_EXPR };
   Stmt *SubExprs[END_EXPR];
+  bool ExcludedOverflowPattern = false;
----------------
JustinStitt wrote:

Ok, I think I found a spare bit in `BinaryOperatorBits` but I am not super familiar with how all these bit classes work.

See: https://github.com/llvm/llvm-project/pull/100272/commits/cb0fcd1c3b1ded7258bb20cff4d187ca56f17149 

Thanks

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


More information about the cfe-commits mailing list