[cfe-commits] Rép: [PATCH] _has_feature support for new C1X?features.

Sebastian Redl sebastian.redl at getdesigned.at
Sun May 1 12:01:15 PDT 2011


On 01.05.2011, at 20:44, Chris Lattner wrote:

> 
> On Apr 30, 2011, at 2:08 PM, Peter Collingbourne wrote:
> 
>> 
>> __has_extension should be a superset of __has_feature, so it should
>> also include the C++ and C++0x features, as well as the Clang specific
>> extensions.  This can be done trivially by calling HasFeature from
>> HasExtension.
> 
> I agree.  We should also have a __has_feature(has_extension) of course, and the new goodness should be documented in the language extensions guide.

But __has_extension is not a standard feature! ;-)

Sebastian



More information about the cfe-commits mailing list