As clang start to implements C1X, it may be useful to extend __has_feature to 
support the new implemented features.

Here is a patch that add 'c_static_assert' and 'c_generic_selection', and a 
test case similar to the one used for c++0x.

This patch adds 'c_generic_selection', but I don't know the status of this 
feature. If it is not ready yet, this part should be commented.

-- Jean-Daniel



Attachment: c_features.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to