[cfe-commits] [Patch] Adding __has_feature(cxx_decltype_incomplete_return_type) for querying N3276 decltype

Michel Morin mimomorin at gmail.com
Wed Feb 22 16:54:35 PST 2012


I think N3276 (Decltype and Call Expressions) is implemented in r151117.
Boost.Config needs a config macro to determine the support of this feature,
but clang does not have such a macro.

This patch adds a new config macro
    __has_feature(cxx_decltype_incomplete_return_type)
and updates doc and test.
(I'm willing to change the macro name to better one.)

Regards,
Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxx_decltype_incomplete_return_type.patch
Type: application/octet-stream
Size: 2810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120223/1b640c86/attachment.obj>


More information about the cfe-commits mailing list