Skip to content

Commit e15a9a6

Browse files
committed
Small modifications with clang-format
1 parent f3be2ef commit e15a9a6

File tree

7 files changed

+8
-11
lines changed

7 files changed

+8
-11
lines changed

blocks/basic/include/gnuradio-4.0/basic/And.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ struct And : Block<And<T>> {
2424

2525
} // namespace gr::basic
2626

27-
#endif // AND_HPP
27+
#endif // AND_HPP

blocks/basic/include/gnuradio-4.0/basic/AndConst.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
namespace gr::basic {
99

10-
GR_REGISTER_BLOCK(gr::basic::AndConst, [ uint8_t, int16_t, int32_t])
10+
GR_REGISTER_BLOCK(gr::basic::AndConst, [ uint8_t, int16_t, int32_t ])
1111

1212
template<std::integral T>
13-
struct AndConst : Block<AndConst <T>> {
13+
struct AndConst : Block<AndConst<T>> {
1414
using Description = Doc<"@brief Performs a bitwise AND operation on two inputs, producing one output stream.">;
1515

16-
PortIn<T> in;
16+
PortIn<T> in;
1717
PortOut<T> out;
1818

1919
T constant = 1;

blocks/basic/include/gnuradio-4.0/basic/Not.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
namespace gr::basic {
99

10-
GR_REGISTER_BLOCK(gr::basic::Not, [ uint8_t, int16_t, int32_t])
10+
GR_REGISTER_BLOCK(gr::basic::Not, [ uint8_t, int16_t, int32_t ])
1111

1212
template<std::integral T>
1313
struct Not : Block<Not<T>> {
1414
using Description = Doc<"@brief Performs a bitwise NOT operation on the input stream, producing an output stream with inverted bits.">;
1515

16-
PortIn<T> in;
16+
PortIn<T> in;
1717
PortOut<T> out;
1818

1919
GR_MAKE_REFLECTABLE(Not, in, out);

blocks/basic/include/gnuradio-4.0/basic/Xor.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ struct Xor : Block<Xor<T>> {
2020
GR_MAKE_REFLECTABLE(Xor, in1, in2, out);
2121

2222
[[nodiscard]] constexpr T processOne(T input1, T input2) const noexcept { return input1 ^ input2; }
23-
2423
};
2524

2625
} // namespace gr::basic

blocks/basic/test/qa_And.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ const suite AndTests = [] {
5757
};
5858
};
5959

60-
int main() { return boost::ut::cfg<boost::ut::override>.run(); }
60+
int main() { return boost::ut::cfg<boost::ut::override>.run(); }

blocks/basic/test/qa_AndConst.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ const suite AndConstTests = [] {
5454
};
5555
};
5656

57-
int main() { return boost::ut::cfg<boost::ut::override>.run(); }
57+
int main() { return boost::ut::cfg<boost::ut::override>.run(); }

blocks/basic/test/qa_Not.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const suite NotTests = [] {
2121
expect(eq(notBlock.processOne(static_cast<int16_t>(0xAAAA)), static_cast<int16_t>(0x5555)));
2222
};
2323

24-
2524
"int32_t support"_test = [] {
2625
Not<int32_t> notBlock;
2726

@@ -31,5 +30,4 @@ const suite NotTests = [] {
3130
};
3231
};
3332

34-
3533
int main() { return boost::ut::cfg<boost::ut::override>.run(); }

0 commit comments

Comments
 (0)