<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 3, 2016 at 6:37 PM, Reid Kleckner via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Tue, May 3, 2016 at 4:49 PM, Richard Smith via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Yep, this is technically a bug. (As mentioned, I'm working on getting the standard fixed to be a bit less ridiculous here. We'll see how that goes.)</div></div></div></div>
</blockquote></div><br></div></span><div class="gmail_extra">Even if we change the C++ standard, people will probably still bug us about C: <a href="https://llvm.org/bugs/show_bug.cgi?id=27604" target="_blank">https://llvm.org/bugs/show_bug.cgi?id=27604</a></div></div></blockquote><div><br></div><div>It looks like the problem there is that we start the lifetime too late (in C), not that we end it too early. But I suppose with our stack-based approach to cleanups, these are closely-related issues :) </div></div></div></div>