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

Chris Lattner clattner at apple.com
Sun May 1 12:17:04 PDT 2011


On May 1, 2011, at 12:01 PM, Sebastian Redl wrote:

> 
> 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! ;-)

has_feature is for clang features.  blocks aren't a standard feature either :)

-Chris



More information about the cfe-commits mailing list