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

Chris Lattner clattner at apple.com
Sun May 1 11:44:40 PDT 2011


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.

Thanks for working on this!

-Chris



More information about the cfe-commits mailing list