Skip to content

Commit

Permalink
line(all): apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Codesire-Deng committed Nov 25, 2023
1 parent e1577a9 commit e584ee3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: false
BreakAfterAttributes: Always
BreakAfterAttributes: Leave # clang-format 16
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Attach
BreakBeforeConceptDeclarations: true
Expand Down
4 changes: 2 additions & 2 deletions include/co_context/task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ namespace detail {
} // namespace detail

template<typename Awaiter>
auto make_task(Awaiter awaiter) -> task<
detail::remove_rvalue_reference_t<detail::get_awaiter_result_t<Awaiter>>> {
auto make_task(Awaiter awaiter) -> task<detail::remove_rvalue_reference_t<
detail::get_awaiter_result_t<Awaiter>>> {
co_return co_await static_cast<Awaiter &&>(awaiter);
}

Expand Down
4 changes: 2 additions & 2 deletions include/uring/compat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <cstdint>

struct __kernel_timespec {
int64_t tv_sec;
long long tv_nsec;
int64_t tv_sec;
long long tv_nsec;
};

/* <linux/time_types.h> is not available, so it can't be included */
Expand Down

0 comments on commit e584ee3

Please sign in to comment.