[cfe-commits] [PATCH] _has_feature support for new C1X features.
Jean-Daniel Dupas
devlists at shadowlab.org
Mon Apr 25 12:15:09 PDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c_features.patch
Type: application/octet-stream
Size: 1566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110425/69be1342/attachment.obj>
More information about the cfe-commits
mailing list