llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvar
Martin Storsjö 4adb4bca05 [libcxx] [test] Fix a test error with condvars with trivial destruction
If the destructor is trivial (_LIBCPP_HAS_TRIVIAL_CONDVAR_DESTRUCTION,
the constructor always is), the compiler warns about the
std::condition_variable being unused.

Add a cast to void to silence the warning about the object being unused.

Differential Revision: https://reviews.llvm.org/D97540
2021-03-02 20:34:22 +02:00
..
assign.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
copy.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
default.pass.cpp [libcxx] [test] Fix a test error with condvars with trivial destruction 2021-03-02 20:34:22 +02:00
destructor.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
notify_all.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
notify_one.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
wait.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
wait_for.pass.cpp [libc++] Allow retries in a few more flaky tests 2021-02-17 11:20:40 -05:00
wait_for_pred.pass.cpp [libc++] Allow retries in a few more flaky tests 2021-02-17 11:20:40 -05:00
wait_pred.pass.cpp [libc++] Allow retries in a few more flaky tests 2021-02-17 11:20:40 -05:00
wait_until.pass.cpp [libc++] Allow retries in a few more flaky tests 2021-02-17 11:20:40 -05:00
wait_until_pred.pass.cpp [libc++] Allow retries in a few more flaky tests 2021-02-17 11:20:40 -05:00