[PATCH] Fix some cases of incorrect handling of lifetime extended temporaries.

Manuel Klimek klimek at google.com
Mon Jul 28 09:19:35 PDT 2014


On Mon, Jul 28, 2014 at 6:16 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> I second what Alex said, and also wonder if this affects existing
> destruction of lifetime-extended objects (which happens under the auto
> destructors path, and is also not quite correct).
>

All this does is change which destructors we skip when visiting expressions
for temporary destructors. It's still wrong though, I think I'll come up
with a better fix.


>
> http://reviews.llvm.org/D4696
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140728/8be544de/attachment.html>


More information about the cfe-commits mailing list