History log of /external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
16e2ba19dfffdcf9bba202eb8a27fd79e3d15303 18-Jan-2017 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Fix comment typos, strip trailing whitespace.

No functional change, no code review.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
1a93312404841a91c62e27819daf0479d82246ea 01-Jul-2016 Marshall Clow <mclow.lists@gmail.com> Fix static assert problem on gcc; remove XFAILs that I put in in r274250

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
a0f496b9891fd86a4471884405e313ab2342c48c 30-Jun-2016 Marshall Clow <mclow.lists@gmail.com> Temporarily XFAIL the incomplete type tests for GCC while I figure out why adding a static_assert in r274235 broken them

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
774c7c5ca8c3d224830bcd9a23c7d9ae52b91bcd 10-Feb-2016 Eric Fiselier <eric@efcs.ca> Recommit r260012 - Cleanup node-type handling in the unordered containers.

This time I kept <ext/hash_map> working!

This patch is the first in a series of patches that's meant to better
support unordered_map. unordered_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 __hash_table about this
special value_type.

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

As a result of this change all of the unordered containers now all support
incomplete types.

As a drive-by fix I changed the difference_type in __hash_table to always
be ptrdiff_t. There is a corresponding change to size_type but it cannot
take affect until an ABI break.

This patch will be followed up shortly with fixes for various unordered_map
bugs and problems.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@260431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
398588caf7ef32f060ae4c3e4b1c0a7212bf0b12 09-Feb-2016 Eric Fiselier <eric@efcs.ca> Revert r260012 due to __gnu_cxx::hash_map breakage

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@260172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
cf108ebe8c5fe33643145bec81d41548695d14a9 07-Feb-2016 Eric Fiselier <eric@efcs.ca> Cleanup node-type handling in the unordered containers

This patch is the first in a series of patches that's meant to better
support unordered_map. unordered_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 __hash_table about this
special value_type.

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

As a result of this change all of the unordered containers now all support
incomplete types.

As a drive-by fix I changed the difference_type in __hash_table to always
be ptrdiff_t. There is a corresponding change to size_type but it cannot
take affect until an ABI break.

This patch will be followed up shortly with fixes for various unordered_map
fixes.



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@260012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp