hazohelet wrote:

> I'll add a test. immediate contexts are recursive, constant evaluated 
> contexts are not, i don't think there is a case where you would get an 
> additional evaluation context that is not for a full expression, and if you 
> have a full expression you do expect the immediate invocation to be called 
> anyway - eg, lambda case.

It turns out I was misunderstanding the standard about the recursiveness of 
constant-evaluated-context. I found a flaw in my patch that comes from it 
(pushing constant-evaluated context upon lambda body if it happens in 
constant-evaluated context). Thanks!

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

Reply via email to