llvm-project/libcxx/test/std/thread/futures
Eric Fiselier e1ec29869b Fix most failures caused by r300140
r300140 introduced a bunch of failures by changing the internal
interface provided by __compressed_pair. This patch fixes all of
the failures caused by the new interface by changing the existing
code to use it.

In addition to those changes this patch also fixes two separate
issues causing test failures:

1) Fix the member swap definition for __map_value_compare. Previously
   the swap was incorrectly configured to swap the comparator as const.

2) Fix an assertion failure in futures.task.members/ctor_func_alloc.pass.cpp
that incorrectly expected a move to take place when a single copy is sufficient.

There is one remaining failure regarding make_shared. I'll commit a fix for that
shortly.

llvm-svn: 300148
2017-04-13 00:34:24 +00:00
..
futures.async Enable -Wunreachable-code and fix duplicate warning flags 2016-12-24 04:34:33 +00:00
futures.errors
futures.future_error Add deployment knobs to tests (for Apple platforms) 2017-03-15 00:59:54 +00:00
futures.overview Implement is_error_code_v and is_error_condition_v for c++17. Rework the tests for is_error_code and is_error_condition, since they were really lacking. Thanks to Alisdair for the heads-up that we were missing these. 2016-09-24 17:36:14 +00:00
futures.promise Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00
futures.shared_future Mark tests as unsupported under libcpp-no-exceptions 2017-01-10 08:48:48 +00:00
futures.state
futures.task Fix most failures caused by r300140 2017-04-13 00:34:24 +00:00
futures.unique_future Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES 2017-03-03 03:43:25 +00:00