================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to