Skip to content

Commit b9b0de7

Browse files
committed
fixing more clang-format issues
1 parent 6e0adde commit b9b0de7

20 files changed

+43
-43
lines changed

include/beman/execution/detail/as_awaitable.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct as_awaitable_t {
3131
return ::std::forward<Expr>(expr).as_awaitable(promise);
3232
} else if constexpr (::beman::execution::detail::
3333
is_awaitable<Expr, ::beman::execution::detail::unspecified_promise> ||
34-
not ::beman::execution::detail::awaitable_sender<Expr, Promise>) {
34+
!::beman::execution::detail::awaitable_sender<Expr, Promise>) {
3535
return ::std::forward<Expr>(expr);
3636
} else {
3737
return ::beman::execution::detail::sender_awaitable<Expr, Promise>{::std::forward<Expr>(expr), promise};

include/beman/execution/detail/basic_sender.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct basic_sender : ::beman::execution::detail::product_type<Tag, Data, Child.
3939
}
4040

4141
template <typename Receiver>
42-
requires(not ::beman::execution::receiver<Receiver>)
42+
requires(!::beman::execution::receiver<Receiver>)
4343
auto connect(Receiver receiver) = BEMAN_EXECUTION_DELETE("the passed receiver doesn't model receiver");
4444

4545
private:

include/beman/execution/detail/bulk.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct impls_for<bulk_t> : ::beman::execution::detail::default_impls {
5454
Rcvr& rcvr,
5555
Tag,
5656
Args&&... args) noexcept -> void
57-
requires(not ::std::same_as<Tag, set_value_t> || std::is_invocable_v<Fun, Shape, Args...>)
57+
requires(!::std::same_as<Tag, set_value_t> || std::is_invocable_v<Fun, Shape, Args...>)
5858
{
5959
if constexpr (std::same_as<Tag, set_value_t>) {
6060
auto& [shape, f] = state;
@@ -93,7 +93,7 @@ struct fixed_completions_helper<F, Shape, completion_signatures<Args...>> {
9393
template <typename XF, typename Tag, typename... XArgs>
9494
struct may_throw<XF, Tag(XArgs...)> {
9595
static constexpr bool value = std::same_as<Tag, ::beman::execution::set_value_t> &&
96-
not ::std::is_nothrow_invocable<XF, Shape, XArgs...>();
96+
!::std::is_nothrow_invocable<XF, Shape, XArgs...>();
9797
};
9898
template <typename XF, typename... Sigs>
9999
struct may_throw<XF, completion_signatures<Sigs...>> {

include/beman/execution/detail/fwd_env.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class fwd_env {
2828
explicit fwd_env(Env&& e) : env(::std::forward<Env>(e)) {}
2929

3030
template <typename Query, typename... Args>
31-
requires(not ::beman::execution::forwarding_query(::std::remove_cvref_t<Query>()))
31+
requires(!::beman::execution::forwarding_query(::std::remove_cvref_t<Query>()))
3232
constexpr auto query(Query&& q,
3333
Args&&... args) const = BEMAN_EXECUTION_DELETE("the used query is not forwardable");
3434

include/beman/execution/detail/get_completion_signatures.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct get_completion_signatures_t {
5353

5454
public:
5555
template <typename Sender, typename Env>
56-
requires(not ::std::same_as<void,
56+
requires(!::std::same_as<void,
5757
decltype(get_completion_signatures_t::get(::std::declval<Sender>(),
5858
::std::declval<Env>()))>)
5959
auto operator()(Sender&& sender, Env&& env) const noexcept {

include/beman/execution/detail/get_domain_late.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
namespace beman::execution::detail {
1919
template <typename T>
20-
concept not_void = not ::std::same_as<T, void>;
20+
concept not_void = !::std::same_as<T, void>;
2121

2222
template <typename Tag>
2323
struct get_domain_late_helper {

include/beman/execution/detail/just.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
namespace beman::execution::detail {
2525
template <typename Completion, typename... T>
26-
concept just_size = (not ::std::same_as<Completion, ::beman::execution::set_error_t> or 1u == sizeof...(T)) &&
27-
(not ::std::same_as<Completion, ::beman::execution::set_stopped_t> or 0u == sizeof...(T));
26+
concept just_size = (!::std::same_as<Completion, ::beman::execution::set_error_t> or 1u == sizeof...(T)) &&
27+
(!::std::same_as<Completion, ::beman::execution::set_stopped_t> or 0u == sizeof...(T));
2828
template <typename Completion>
2929
struct just_t {
3030
template <typename... T>

include/beman/execution/detail/movable_value.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace beman::execution::detail {
1313
template <typename T>
1414
concept movable_value =
1515
::std::move_constructible<::std::decay_t<T>> && ::std::constructible_from<::std::decay_t<T>, T> &&
16-
(not ::std::is_array_v<::std::remove_reference_t<T>>);
16+
(!::std::is_array_v<::std::remove_reference_t<T>>);
1717
}
1818

1919
// ----------------------------------------------------------------------------

include/beman/execution/detail/receiver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concept receiver =
2121
{ ::beman::execution::get_env(rcvr) } -> ::beman::execution::detail::queryable;
2222
} && ::std::move_constructible<::std::remove_cvref_t<Rcvr>> &&
2323
::std::constructible_from<::std::remove_cvref_t<Rcvr>, Rcvr> &&
24-
(not ::std::is_final_v<::std::remove_cvref_t<Rcvr>>);
24+
(!::std::is_final_v<::std::remove_cvref_t<Rcvr>>);
2525
} // namespace beman::execution
2626

2727
// ----------------------------------------------------------------------------

include/beman/execution/detail/schedule_from.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct impls_for<::beman::execution::detail::schedule_from_t> : ::beman::executi
8383
try {
8484
::std::visit(
8585
[this]<typename Tuple>(Tuple& result) noexcept -> void {
86-
if constexpr (not ::std::same_as<::std::monostate, Tuple>) {
86+
if constexpr (!::std::same_as<::std::monostate, Tuple>) {
8787
::std::apply(
8888
[this](auto&& tag, auto&&... args) {
8989
tag(::std::move(this->state->receiver), ::std::move(args)...);

0 commit comments

Comments
 (0)