<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 30, 2014 at 5:07 AM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
</blockquote><div><br></div><div>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.</div>
<div><br></div><div>Cheers,</div><div>/Manuel</div><div><br></div></div></div></div>