[cfe-commits] Handle ExprWithCleanups when creating goto scopes
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6758 bytes
Desc: not available
More information about the cfe-commits