<div dir="ltr">Looks fine to me from a functionality POV.  Howard may want to adjust the formatting as he likes.  There are tabs in the support.cpp portion of the patch.<div><br></div><div><div>     va_list ap;</div><div>     va_start(ap, format);</div>
<div>     int result;</div><div>-#ifndef _LIBCPP_NO_EXCEPTIONS</div><div>-    try {</div><div>-#endif</div><div>-        result = vasprintf(sptr, format, ap);</div><div>-#ifndef _LIBCPP_NO_EXCEPTIONS</div><div>-    } catch( ... ) {</div>
<div>-        va_end(ap);</div><div>-        throw;</div><div>-    }</div><div>-#endif</div><div>+    result = vasprintf(sptr, format, ap);</div><div>     va_end(ap);</div><div>     return result;</div><div> }</div></div>
<div><br></div><div>Is the idea here that vsprintf calls no C++ functions which can throw, just malloc, or that this cleanup isn't necessary at all?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Aug 22, 2013 at 5:18 PM, G M <span dir="ltr"><<a href="mailto:gmisocpp@gmail.com" target="_blank">gmisocpp@gmail.com</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"><div>Hello Everyone, in particular Reid.</div><div> </div><div>This patch is a subset of a previous patch I sent. You asked to separate that patch out to make it easier for you to review.</div><div> </div><div>

This is the non contentious part of that patch which you described as "obvious goodness".</div><div> </div><div>I'll resubmit the other patch once this one is approved which will then be smaller and easier to review without the attached patch being part of it.</div>

<div> </div><div>It'll also be easier for me to create that next patch without having to work around this part in my tree.</div><div> </div><div>Thanks</div><div>Glen</div></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>