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

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 13:50:19 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;
----------------
efriedma-quic wrote:

I'd prefer to avoid increasing the size of BinaryOperator if possible; do we really need to precompute this?  If we do, is there a spare bit in subclass data?

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


More information about the cfe-commits mailing list