Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
This PR has 3 commits that each do one thing:
Callouts:
Why clang-format-17? Clang 18.1.* had breaking changes between releases and the version in GitHub runners is not the latest 18 release. This is an annoying developer setup because on Mac brew wants to install the latest version which has different opinions on code styling. For now the latest clang-format 17 is easily available in GitHub runners and brew. The actual difference between them is quite small.
https://github.com/actions/runner-images/blob/ubuntu24/20250209.1/images/ubuntu/Ubuntu2404-Readme.md
Testing:
There is a new CI test that ensures no formatting issues are introduced and if we update the .clag-format file they are applied
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.