[libcxx-commits] [libcxx] [libc++] Implement part of P2562R1: constexpr `std::inplace_merge` (PR #129008)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 9 22:39:57 PDT 2025
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 c4808741e89df29dcd06c7be2784824c82f34e46 b2c8cb82937daa319345b01b6672f5b94407a104 --extensions ,cpp,h -- libcxx/test/support/constexpr_random.h libcxx/include/__algorithm/inplace_merge.h libcxx/include/algorithm libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp libcxx/test/std/algorithms/robust_re_difference_type.compile.pass.cpp libcxx/test/support/counting_predicates.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/support/constexpr_random.h b/libcxx/test/support/constexpr_random.h
index 5f9a16fa69..759e80bc23 100644
--- a/libcxx/test/support/constexpr_random.h
+++ b/libcxx/test/support/constexpr_random.h
@@ -504,7 +504,7 @@ public:
seed(q);
}
TEST_CONSTEXPR_CXX14 void seed(result_type s = default_seed) {
- seed(std::integral_constant < bool, m == 0 > (), std::integral_constant < bool, c == 0 > (), s);
+ seed(std::integral_constant< bool, m == 0 >(), std::integral_constant< bool, c == 0 >(), s);
}
template < class Sseq,
typename std::enable_if<detail::is_seed_sequence<Sseq, linear_congruential_engine>::value, int>::type = 0>
``````````
</details>
https://github.com/llvm/llvm-project/pull/129008
More information about the libcxx-commits
mailing list