[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 29 09:35:26 PDT 2025
================
@@ -1480,6 +1480,14 @@ class DeclRefExpr final
return DeclRefExprBits.IsImmediateEscalating;
}
+ bool isOverflowBehaviorDiscarded() const {
----------------
JustinStitt wrote:
Thoughts on not passing anything through but rather computing whether we are in an assignment context using parent map? I can traverse up the parents to look for a Binary operator assignment.
https://github.com/llvm/llvm-project/pull/148914
More information about the cfe-commits
mailing list