[cfe-commits] Handle ExprWithCleanups when creating goto scopes

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Sep 21 08:24:07 PDT 2012


On 17 September 2012 17:03, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>> The problem here, which I hadn't been thinking about before, is lifetime extension for temporaries. We actually have to dig into the initializer expression to find the, even when the variable type is a reference to a scalar type.
>
> This patch uses a visitor to find the CXXConstructExpr, but it is not
> clear to me all the cases where we have to stop the AST traverse.

ping.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 6758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120921/50ae5129/attachment.obj>


More information about the cfe-commits mailing list