https://github.com/Sirraide commented:

Right, you’d have to apply lifetime extension again when you instantiate an 
expanded expansion statement... I think I’m going to investigate if there’s a 
better way to model lifetime extension, because having to collect temporaries 
via an expression evaluation context like this ends up being rather terrible, 
especially for something like this. Ideally, TreeTransform should ‘just know’ 
when to do that. I think we should probably put this on hold for now

https://github.com/llvm/llvm-project/pull/218710
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to