================
@@ -4515,6 +4515,8 @@ handleLValueToRValueConversion(EvalInfo &Info, const Expr 
*Conv, QualType Type,
       }
 
       APValue Lit;
+      // Make sure we clean up the temporary created below.
+      FullExpressionRAII CleanupTemps(Info);
----------------
kadircet wrote:

> we could probably construct some examples that break after this change.

fair enough, i am not sure about the change either. wanted to throw it out to 
get some more thoughts from community.

> Could we get a reduced test case?

i hope so. i am still running a creduce, file is still too big though :(

https://github.com/llvm/llvm-project/pull/118480
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to