[libcxx-commits] [libcxx] [libc++] [test] Fix `__has_include` usage, expand condvarany and spaceship coverage (PR #94120)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jun 1 13:12:48 PDT 2024
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 2b2ce50fe843b5b550806a0ab15b06cd5c405d48 6d5bbb6353e8fa6902007eb909f7a99e5331c594 -- libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp libcxx/test/support/test_macros.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp b/libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
index bbe0665897..5f71a39115 100644
--- a/libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
+++ b/libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
@@ -1034,10 +1034,8 @@ static_assert(
static_assert(!check_totally_ordered_with<std::vector<int>, int>());
struct A {};
-static_assert(!check_totally_ordered_with<std::optional<std::vector<A> >,
- std::optional<std::vector<A> > >());
-static_assert(!check_totally_ordered_with<std::optional<std::vector<A> >,
- std::vector<A> >());
+static_assert(!check_totally_ordered_with<std::optional<std::vector<A> >, std::optional<std::vector<A> > >());
+static_assert(!check_totally_ordered_with<std::optional<std::vector<A> >, std::vector<A> >());
struct B {};
static_assert(!check_totally_ordered_with<std::vector<A>, std::vector<B> >());
static_assert(
``````````
</details>
https://github.com/llvm/llvm-project/pull/94120
More information about the libcxx-commits
mailing list