Skip to content

Commit 329167a

Browse files
committed
👽 Fix clang-format changes from upstream
1 parent e7aa8da commit 329167a

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

include/interrupt/dynamic_controller.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#pragma once
22

3-
#include <conc/concurrency.hpp>
4-
53
#include <stdx/compiler.hpp>
64
#include <stdx/tuple.hpp>
75
#include <stdx/tuple_algorithms.hpp>
86
#include <stdx/type_traits.hpp>
97

8+
#include <conc/concurrency.hpp>
9+
1010
#include <boost/mp11/algorithm.hpp>
1111
#include <boost/mp11/list.hpp>
1212

test/interrupt/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct test_nexus {
4848

4949
template <auto> struct enable_field_t {
5050
static inline bool value{};
51-
constexpr friend auto operator==(enable_field_t, enable_field_t)
51+
friend constexpr auto operator==(enable_field_t, enable_field_t)
5252
-> bool = default;
5353
};
5454
template <auto> struct status_field_t {

test/log/catalog1_lib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#include "catalog_concurrency.hpp"
22

3-
#include <conc/concurrency.hpp>
43
#include <log/catalog/mipi_encoder.hpp>
54

5+
#include <conc/concurrency.hpp>
6+
67
#include <cstdint>
78

89
template <> inline auto conc::injected_policy<> = test_conc_policy{};

test/log/catalog2a_lib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#include "catalog_concurrency.hpp"
22
#include "catalog_enums.hpp"
33

4-
#include <conc/concurrency.hpp>
54
#include <log/catalog/mipi_encoder.hpp>
65

6+
#include <conc/concurrency.hpp>
7+
78
#include <cstdint>
89

910
template <> inline auto conc::injected_policy<> = test_conc_policy{};

test/log/catalog2b_lib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#include "catalog_concurrency.hpp"
22
#include "catalog_enums.hpp"
33

4-
#include <conc/concurrency.hpp>
54
#include <log/catalog/mipi_encoder.hpp>
65

6+
#include <conc/concurrency.hpp>
7+
78
#include <cstdint>
89

910
template <> inline auto conc::injected_policy<> = test_conc_policy{};

test/log/mipi_encoder.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
#include <conc/concurrency.hpp>
21
#include <log/catalog/mipi_encoder.hpp>
32

43
#include <stdx/concepts.hpp>
54
#include <stdx/span.hpp>
65

6+
#include <conc/concurrency.hpp>
7+
78
#include <catch2/catch_test_macros.hpp>
89

910
#include <array>
@@ -49,15 +50,16 @@ struct test_conc_policy {
4950
return (static_cast<std::uint32_t>(test_string_id) << 4u) | 0x1u;
5051
}
5152

52-
[[maybe_unused]] constexpr auto
53-
expected_catalog32_header(logging::level level, module_id m) -> std::uint32_t {
53+
[[maybe_unused]] constexpr auto expected_catalog32_header(logging::level level,
54+
module_id m)
55+
-> std::uint32_t {
5456
return (0x1u << 24u) | (m << 16u) |
5557
(static_cast<std::uint32_t>(level) << 4u) | 0x3u;
5658
}
5759

58-
[[maybe_unused]] constexpr auto
59-
expected_msg_header(logging::level level, module_id m,
60-
std::size_t sz) -> std::uint32_t {
60+
[[maybe_unused]] constexpr auto expected_msg_header(logging::level level,
61+
module_id m, std::size_t sz)
62+
-> std::uint32_t {
6163
return sz > 0 ? expected_catalog32_header(level, m)
6264
: expected_short32_header();
6365
}

test/msg/send.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
#include <async/schedulers/trigger_manager.hpp>
2-
#include <async/start_detached.hpp>
31
#include <cib/cib.hpp>
42
#include <msg/callback.hpp>
53
#include <msg/field.hpp>
64
#include <msg/message.hpp>
75
#include <msg/send.hpp>
86
#include <msg/service.hpp>
97

8+
#include <async/schedulers/trigger_manager.hpp>
9+
#include <async/start_detached.hpp>
10+
1011
#include <stdx/ct_conversions.hpp>
1112
#include <stdx/ct_string.hpp>
1213

0 commit comments

Comments
 (0)