Skip to content

Commit 4ae69b8

Browse files
Apply clang-format
1 parent 8ed74cb commit 4ae69b8

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

libs/core/algorithms/include/hpx/parallel/algorithms/is_sorted.hpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,7 @@ namespace hpx::parallel {
372372
static decltype(auto) parallel(ExPolicy&& orgpolicy, FwdIter_ first,
373373
Sent_ last, Pred&& pred, Proj&& proj)
374374
{
375-
using reference =
376-
hpx::traits::iter_reference_t<FwdIter_>;
375+
using reference = hpx::traits::iter_reference_t<FwdIter_>;
377376
using difference_type =
378377
hpx::traits::iter_difference_t<FwdIter_>;
379378
using result =
@@ -473,8 +472,8 @@ namespace hpx {
473472
>
474473
)
475474
// clang-format on
476-
friend bool tag_fallback_invoke(hpx::is_sorted_t, FwdIter first,
477-
FwdIter last, Pred pred = Pred())
475+
friend bool tag_fallback_invoke(
476+
hpx::is_sorted_t, FwdIter first, FwdIter last, Pred pred = Pred())
478477
{
479478
return hpx::parallel::detail::is_sorted<FwdIter, FwdIter>().call(
480479
hpx::execution::seq, first, last, HPX_MOVE(pred),
@@ -514,8 +513,8 @@ namespace hpx {
514513
>
515514
)
516515
// clang-format on
517-
friend bool tag_fallback_invoke(hpx::is_sorted_t, FwdIter first,
518-
FwdIter last, Pred pred, Proj proj)
516+
friend bool tag_fallback_invoke(
517+
hpx::is_sorted_t, FwdIter first, FwdIter last, Pred pred, Proj proj)
519518
{
520519
return hpx::parallel::detail::is_sorted<FwdIter, FwdIter>().call(
521520
hpx::execution::seq, first, last, HPX_MOVE(pred),

libs/core/algorithms/include/hpx/parallel/container_algorithms/is_partitioned.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ namespace hpx::ranges {
297297
)
298298
// clang-format on
299299
friend typename parallel::util::detail::algorithm_result<ExPolicy,
300-
bool>::type
301-
tag_fallback_invoke(hpx::ranges::is_partitioned_t, ExPolicy&& policy,
302-
FwdIter first, Sent last, Pred pred, Proj proj = Proj())
300+
bool>::type tag_fallback_invoke(hpx::ranges::is_partitioned_t,
301+
ExPolicy&& policy, FwdIter first, Sent last, Pred pred,
302+
Proj proj = Proj())
303303
{
304304
return hpx::parallel::detail::is_partitioned<FwdIter, Sent>().call(
305305
HPX_FORWARD(ExPolicy, policy), first, last, HPX_MOVE(pred),

libs/core/algorithms/include/hpx/parallel/container_algorithms/is_sorted.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,9 @@ namespace hpx::ranges {
657657
)
658658
// clang-format on
659659
friend hpx::parallel::util::detail::algorithm_result_t<ExPolicy,
660-
FwdIter>
661-
tag_fallback_invoke(hpx::ranges::is_sorted_until_t, ExPolicy&& policy,
662-
FwdIter first, Sent last, Pred pred = Pred(), Proj proj = Proj())
660+
FwdIter> tag_fallback_invoke(hpx::ranges::is_sorted_until_t,
661+
ExPolicy&& policy, FwdIter first, Sent last, Pred pred = Pred(),
662+
Proj proj = Proj())
663663
{
664664
return hpx::parallel::detail::is_sorted_until<FwdIter, Sent>().call(
665665
HPX_FORWARD(ExPolicy, policy), first, last, HPX_MOVE(pred),

0 commit comments

Comments
 (0)