r199619 - MSVC 2013 type trait support

Alp Toker alp at nuanti.com
Tue Mar 11 18:16:33 PDT 2014


On 12/03/2014 00:57, Marshall Clow wrote:
> On Jan 19, 2014, at 4:24 PM, Alp Toker <alp at nuanti.com> wrote:
>
>> Author: alp
>> Date: Sun Jan 19 18:24:09 2014
>> New Revision: 199619
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=199619&view=rev
>> Log:
>> MSVC 2013 type trait support
>>
>> Implement type trait primitives used in the latest edition of the Microsoft
>> standard C++ library type_traits header.
>>
>> With this change we can parse much of the Visual Studio 2013 standard headers,
>> particularly anything that includes <type_traits>.
>>
>> Fully implemented, available in all language modes:
>>
>> * __is_constructible()
>> * __is_nothrow_constructible()
>> * __is_nothrow_assignable()
>>
>> Partially implemented, semantic analysis WIP, available as MS extensions:
>>
>> * __is_destructible()
>> * __is_nothrow_destructible()
> Where are the __has_feature() bits?

Got a patch here implementing the proposed type trait feature detection 
scheme we settled on. Let's see if it rebases to ToT..

Alp.

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list