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 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
