Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to clang-format-18 #23332

Merged
merged 3 commits into from
Sep 17, 2024
Merged

chore: upgrade to clang-format-18 #23332

merged 3 commits into from
Sep 17, 2024

Conversation

dotnwat
Copy link
Member

@dotnwat dotnwat commented Sep 16, 2024

chore: upgrade to clang-format-18

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

  • none

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
@dotnwat dotnwat requested review from a team and michael-redpanda as code owners September 16, 2024 18:33
@dotnwat dotnwat requested review from rpdevmp and removed request for a team September 16, 2024 18:33
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
@dotnwat dotnwat force-pushed the clang-format-18-upgrade branch from d618449 to fc82200 Compare September 16, 2024 18:43
@dotnwat dotnwat mentioned this pull request Sep 16, 2024
7 tasks
Comment on lines 1024 to +1025
: _impl(std::make_unique<impl>(
node_id, pm, gm, api, cache, upload_housekeeping, config)) {}
node_id, pm, gm, api, cache, upload_housekeeping, config)) {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i appreciate this little indention here, which seems to be a big portion of this overall diff.

Comment on lines -340 to +343
GetParam() ? std::make_optional<remote_label>(
model::cluster_uuid{uuid_t::create()})
: std::nullopt,
std::nullopt) {}
GetParam() ? std::make_optional<remote_label>(
model::cluster_uuid{uuid_t::create()})
: std::nullopt,
std::nullopt) {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks sane to me

: _log(std::move(logger_name)){};
: _log(std::move(logger_name)) {};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@andrwng andrwng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some semicolons caught my eye but otherwise LGTM!

src/v/cluster/distributed_kv_stm.h Show resolved Hide resolved
src/v/cluster/data_migration_backend.h Show resolved Hide resolved
src/v/utils/stable_iterator_adaptor.h Show resolved Hide resolved
src/v/utils/tristate.h Show resolved Hide resolved
Copy link
Member

@BenPope BenPope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Overall more improvements than regressions.

@dotnwat dotnwat merged commit d71cd38 into dev Sep 17, 2024
17 checks passed
@dotnwat dotnwat deleted the clang-format-18-upgrade branch September 17, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants