llvm-project/libcxx/test/std
Eric Fiselier 831c112954 Fix various GCC mis-configurations for newer versions.
This patch goes through and enables C++11 and C++14 features for newer GCC's.
The main changes are:

1. Turn on variable templates. (Uses __cpp_variable_templates)
2. Assert atomic<Tp> is trivially copyable (Uses _GNUC_VER >= 501).
3. Turn on trailing return support for GCC. (Uses _GNUC_VER >= 404)
4. XFAIL void_t test for GCC 5.1 and 5.2. Fixed in GCC 6.

llvm-svn: 255585
2015-12-15 00:32:21 +00:00
..
algorithms Change some #ifdefs to #if - thanks to Dexon for thge catch. 2015-07-30 13:56:00 +00:00
atomics Fix various GCC mis-configurations for newer versions. 2015-12-15 00:32:21 +00:00
containers Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. 2015-11-26 01:24:04 +00:00
depr Silence a -Wmissing-braces warning in the tests; mbstate_t is defined differently on different C libraries. 2015-11-25 01:06:36 +00:00
diagnostics Fix warnings in array and assoc containers 2015-07-18 23:56:04 +00:00
experimental Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
extensions Fix more issues exposed by -pedantic-errors in c++03 mode 2015-02-10 17:20:18 +00:00
input.output [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list. 2015-11-12 10:41:57 +00:00
iterators Implement LWG#2353: std::next is over-constrained 2015-11-07 17:48:49 +00:00
language.support Fix a corner case that involved calling rethrow_if_nested with a type that had a deleted operator&. Added a test to catch this as well. Thanks to Ville for the heads-up. 2015-12-14 18:01:56 +00:00
localization [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list. 2015-11-12 10:41:57 +00:00
numerics [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list. 2015-11-12 10:41:57 +00:00
re Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
strings Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. 2015-11-26 01:24:04 +00:00
thread Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
utilities Fix various GCC mis-configurations for newer versions. 2015-12-15 00:32:21 +00:00
nothing_to_do.pass.cpp