On Wed, Jul 30, 2014 at 5:07 AM, Jordan Rose <[email protected]> wrote:

> This mostly seems reasonable to me, except I wonder if we'll want to
> encode the path to the temporaries by something other than the expression
> where they were created. I can't remember when they're proper regions and
> when they're just values (LazyCompoundVals) in the analyzer, but we should
> be careful to be consistent about the region in which the constructor is
> run and the region in which the destructor is run.
>

Yea, I remember running into problems when trying to enable inlining of
temp dtors, but I'm not sure what exactly those were... It seems to me like
we need to model the regions for temporaries correctly anyway, if we ever
want to be able to inline the destructors of temporaries at the end of the
full-expression.

Cheers,
/Manuel
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to