From 6ae9eaf90ee28ba1dc5c1e32f77fd1da1df612d5 Mon Sep 17 00:00:00 2001 From: Will <2185386+willhoy@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:55:13 +0100 Subject: [PATCH 1/3] Update build.yml bump clang format version Signed-off-by: Will <2185386+willhoy@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b24de9b..1adff17c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,7 +57,7 @@ jobs: - name: Run clang-format style check for C/C++/Protobuf programs. uses: jidicula/clang-format-action@v4.11.0 with: - clang-format-version: '14' + clang-format-version: '20' check-path: ${{ matrix.path }} Linting: From 738ec8a8adca46b6a61a64b2681969994d17109f Mon Sep 17 00:00:00 2001 From: Will Hoy Date: Fri, 10 Oct 2025 11:57:42 +0100 Subject: [PATCH 2/3] clang perftest runner --- examples/rmqperftest/rmqperftest_runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rmqperftest/rmqperftest_runner.cpp b/examples/rmqperftest/rmqperftest_runner.cpp index 9ef89ddc..951e92f0 100644 --- a/examples/rmqperftest/rmqperftest_runner.cpp +++ b/examples/rmqperftest/rmqperftest_runner.cpp @@ -86,7 +86,7 @@ class ConfirmCallback { void operator()(const rmqt::Message&, const bsl::string&, - const rmqt::ConfirmResponse&){}; + const rmqt::ConfirmResponse&) {}; }; bsl::string_view queueNameOrRoutingKey(bsl::string_view routingKey, From 497575b3d9c4ab9fe7eb1d707e850852db6be120 Mon Sep 17 00:00:00 2001 From: Will Hoy Date: Fri, 10 Oct 2025 11:59:45 +0100 Subject: [PATCH 3/3] clang src --- src/rmq/rmqamqp/rmqamqp_channelfactory.h | 2 +- src/rmq/rmqio/rmqio_timer.h | 2 +- src/rmq/rmqt/rmqt_credentials.h | 2 +- src/rmq/rmqt/rmqt_endpoint.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rmq/rmqamqp/rmqamqp_channelfactory.h b/src/rmq/rmqamqp/rmqamqp_channelfactory.h index 49a2358b..d0ea3ed7 100644 --- a/src/rmq/rmqamqp/rmqamqp_channelfactory.h +++ b/src/rmq/rmqamqp/rmqamqp_channelfactory.h @@ -36,7 +36,7 @@ namespace rmqamqp { class ChannelFactory { public: - virtual ~ChannelFactory(){}; + virtual ~ChannelFactory() {}; virtual bsl::shared_ptr createReceiveChannel( const rmqt::Topology& topology, diff --git a/src/rmq/rmqio/rmqio_timer.h b/src/rmq/rmqio/rmqio_timer.h index f31e7952..327db63c 100644 --- a/src/rmq/rmqio/rmqio_timer.h +++ b/src/rmq/rmqio/rmqio_timer.h @@ -72,7 +72,7 @@ class Timer { class TimerFactory { public: - virtual ~TimerFactory(){}; + virtual ~TimerFactory() {}; /// Creates a timer and initializes its timeout. The timer should be /// started by calling start(). diff --git a/src/rmq/rmqt/rmqt_credentials.h b/src/rmq/rmqt/rmqt_credentials.h index a736c706..346f3d5c 100644 --- a/src/rmq/rmqt/rmqt_credentials.h +++ b/src/rmq/rmqt/rmqt_credentials.h @@ -25,7 +25,7 @@ namespace rmqt { class Credentials { public: - virtual ~Credentials(){}; + virtual ~Credentials() {}; virtual bsl::string formatCredentials() = 0; virtual bsl::string authenticationMechanism() = 0; }; diff --git a/src/rmq/rmqt/rmqt_endpoint.h b/src/rmq/rmqt/rmqt_endpoint.h index dbc13efb..77052735 100644 --- a/src/rmq/rmqt/rmqt_endpoint.h +++ b/src/rmq/rmqt/rmqt_endpoint.h @@ -29,7 +29,7 @@ class SecurityParameters; class Endpoint { public: - virtual ~Endpoint(){}; + virtual ~Endpoint() {}; virtual bsl::string formatAddress() const = 0; virtual bsl::string hostname() const = 0; virtual bsl::string vhost() const = 0;