[PATCH] D21098: [libcxx] [test] Replace __cplusplus comparisons with TEST_STD_VER and __has_feature with TEST_HAS_FEATURE.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 20:15:13 PDT 2016


EricWF added a comment.

Please change the `TEST_HAS_FEATURE(XXX)` into `TEST_STD_VER >= 11` for the following C++11 features:

- `cxx_noexcept`
- `cxx_atomic`
- `cxx_access_control_sfinae`

Also if the entire test is wrapped in a `TEST_HAS_FEATURE(XXX)` please translate that into a `// UNSUPPORTED: c++98, c++03` comment at the top of the file.


http://reviews.llvm.org/D21098





More information about the cfe-commits mailing list