<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 17, 2014 at 6:52 AM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</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">
Ping<br>
<br>
Need this to parse MSVC headers, patch rebased to ToT.</blockquote><div><br></div><div>Really sorry for the delay!</div><div><br></div><div>For the 'nothrow' tests, please use Sema::canThrow rather than checking the exception specification (that way, you'll also handle exceptions within default arguments, exceptions within the conversion sequences for the parameters, and so on). Please also *don't* return true if the construction is trivial but not noexcept -- that doesn't match what the standard requires from these traits.<div>
<div><br></div><div>If you're intending on providing follow-up patches implementing the other stubbed-out traits, I'm OK with them being broken in the interim (it's a good start); otherwise I'd like for them to be diagnosed rather than silently giving the wrong answers.</div>
</div></div><div><br></div><div> <span style="color:rgb(80,0,80)">On 12/12/2013 17:13, Alp Toker wrote:</span></div><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 class=""><div class="h5">
<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">
This patch adds support for the MSVC12.0 / 2013 type trait builtin primitives sufficiently to support the new type_trait facilities added to the C++ standard library.<br>
<br>
With these clang is now more or less able to parse itself with the Visual Studio 2013 SDK.<br>
<br>
Fully Implemented:<br>
<br>
* __is_constructible()<br>
* __is_nothrow_constructible()<br>
<br>
Implemented through fallback to other type traits (WIP, noted with two TODOs):<br>
<br>
* __is_destructible()<br>
* __is_nothrow_destructible()<br>
* __is_nothrow_assignable()<br>
<br>
The patch is built on top of the other two posted earlier today unifying (1) contextual keywords and (2) the new type traits implementation.<br>
<br>
Alp.<br>
<br>
</blockquote>
<br>
-- <br>
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a><br>
the browser experts<br>
<br>
</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></div>