llvm-project/libcxx/test/std
Eric Fiselier 089a7cc5de Cleanup node-type handling in the associative containers.
This patch is very similar to r260431.

This patch is the first in a series of patches that's meant to better
support map. map has a special "value_type" that
differs from pair<const Key, Value>. In order to meet the EmplaceConstructible
and CopyInsertable requirements we need to teach __tree about this
special value_type.

This patch creates a "__tree_node_types" traits class that contains
all of the typedefs needed by the associative containers and their iterators.
These typedefs include ones for each node type and  node pointer type,
as well as special typedefs for "map"'s value type.

Although the associative containers already supported incomplete types, this
patch makes it official by adding tests.

This patch will be followed up shortly with various cleanups within __tree and
fixes for various map bugs and problems.

llvm-svn: 261416
2016-02-20 05:28:30 +00:00
..
algorithms Change some #ifdefs to #if - thanks to Dexon for thge catch. 2015-07-30 13:56:00 +00:00
atomics Add missing license headers 2016-01-19 21:52:04 +00:00
containers Cleanup node-type handling in the associative containers. 2016-02-20 05:28:30 +00:00
depr Fix overload sets of strchr, strpbrk, strrchr, memchr and strstr from 2016-02-10 00:59:02 +00:00
diagnostics Fix warnings in array and assoc containers 2015-07-18 23:56:04 +00:00
experimental implement ostream_joiner. Reviewed as http://reviews.llvm.org/D16605 2016-01-28 04:14:56 +00:00
extensions Fix more issues exposed by -pedantic-errors in c++03 mode 2015-02-10 17:20:18 +00:00
input.output Minor updates to failing tests. NFC 2016-02-09 06:38:56 +00:00
iterators Mark some test XFAIL for GCC 4.9 due to missing is_trivial* traits 2016-01-20 04:59:57 +00:00
language.support Mark some test XFAIL for GCC 4.9 due to missing is_trivial* traits 2016-01-20 04:59:57 +00:00
localization [libcxx] Additional 'REQUIRE' directives for tests that require en_US.UTF-8. 2016-01-27 10:45:07 +00:00
numerics Add a bunch of missing includes in the test suite to make it more portable. Fixes bugs #26120 and #26121. Thanks to Jonathan Wakely for the reports and the patches. 2016-01-12 14:51:04 +00:00
re Add some tests to ensure that the __regex_word does not conflict with any of ctype_base's values. 2016-02-11 15:23:04 +00:00
strings Fix overload sets of strchr, strpbrk, strrchr, memchr and strstr from 2016-02-10 00:59:02 +00:00
thread Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
utilities Fix PR26103 - Error calling is_convertible with incomplete type. Patch from Michael Daniels. 2016-01-26 20:24:30 +00:00
nothing_to_do.pass.cpp