[libcxx-commits] [libcxx] [libc++][In progress] Floating Point Atomic (PR #67799)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 11 16:17:46 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 2615de5867f41eec1491a1b1f9ccf7a26c9fc0fc 161ea3fc774c4582eddb15e8bf083112fef8d753 -- libcxx/test/libcxx/atomics/atomics.types.generic/atomics.types.float/locakfree.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/assign.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/compare_exchange_strong.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/compare_exchange_weak.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/copy.compile.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/ctor.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/exchange.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/load.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/lockfree.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_all.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.float.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/store.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/test_helper.h libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/types.compile.pass.cpp libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/wait.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp
index a6265f78cd11..b7827143d701 100644
--- a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp
+++ b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp
@@ -28,7 +28,6 @@ void testImpl() {
static_assert(HasVolatileNotifyOne<T> == std::atomic<T>::is_always_lock_free);
static_assert(noexcept(std::declval<MaybeVolatile<std::atomic<T>>&>().notify_one()));
-
// bug?? wait can also fail for long double ??
// should x87 80bit long double work at all?
if constexpr (!std::same_as<T, long double>) {
@@ -60,7 +59,6 @@ void testImpl() {
t.join();
}
}
-
}
template <class T>
``````````
</details>
https://github.com/llvm/llvm-project/pull/67799
More information about the libcxx-commits
mailing list