llvm-project/libcxx/test/std/containers/associative/set/set.cons
Eric Fiselier 54613ab4d4 [libc++] Remove various C++03 feature test macros
Summary:
Libc++ still uses per-feature configuration macros when configuring for C++11. However libc++ requires a feature-complete C++11 compiler so there is no reason to check individual features. This patch starts the process of removing the feature specific macros and replacing their usage with `_LIBCPP_CXX03_LANG`.

This patch removes the __config macros:

* _LIBCPP_HAS_NO_TRAILING_RETURN
* _LIBCPP_HAS_NO_TEMPLATE_ALIASES
* _LIBCPP_HAS_NO_ADVANCED_SFINAE
* _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
* _LIBCPP_HAS_NO_STATIC_ASSERT

As a drive I also changed our C++03 static_assert to use _Static_assert if available.

I plan to commit this without review if nobody voices an objection.

Reviewers: mclow.lists

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D24895

llvm-svn: 282347
2016-09-25 03:34:28 +00:00
..
alloc.pass.cpp
assign_initializer_list.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
compare.pass.cpp
compare_alloc.pass.cpp
compare_copy_constructible.fail.cpp Implement LWG#2436: 'Comparators for associative containers should always be CopyConstructible' 2016-06-30 15:11:53 +00:00
copy.pass.cpp [libc++] Remove various C++03 feature test macros 2016-09-25 03:34:28 +00:00
copy_alloc.pass.cpp
copy_assign.pass.cpp
default.pass.cpp Support allocators with explicit conversion constructors. Fixes bug #29000 2016-08-17 05:58:40 +00:00
default_noexcept.pass.cpp Make default_noexcept.pass.cpp container tests more portable. Patch from STL@microsoft.com 2016-06-26 20:21:22 +00:00
dtor_noexcept.pass.cpp Make dtor_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com 2016-07-25 00:50:32 +00:00
initializer_list.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
initializer_list_compare.pass.cpp
initializer_list_compare_alloc.pass.cpp
iter_iter.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
iter_iter_alloc.pass.cpp Add braces, move braces, and rename variables to avoid shadowing. Patch from STL@microsoft.com 2016-04-28 02:45:11 +00:00
iter_iter_comp.pass.cpp
move.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
move_alloc.pass.cpp Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
move_assign.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
move_assign_noexcept.pass.cpp Make move_assign_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com 2016-07-25 00:18:12 +00:00
move_noexcept.pass.cpp Make move_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com 2016-07-24 23:19:51 +00:00