[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 26 15:42:56 PDT 2025


================
@@ -1480,6 +1480,14 @@ class DeclRefExpr final
     return DeclRefExprBits.IsImmediateEscalating;
   }
 
+  bool isOverflowBehaviorDiscarded() const {
----------------
efriedma-quic wrote:

Is there some description of what this bit is supposed to mean?  As far as I can tell, it tweaks the wording of one diagnostic?

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


More information about the cfe-commits mailing list