-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Update clang-format to 17 #4931
Conversation
Also bump the clang-format GitHub actions to 17
fwiw, I would probably not cherry pick this directly to 1.14 and 1.16. I would just update the GitHub actions to use v17 and then simply reformat the source and commit that. |
I checked out all the options that were added in clang-format 14-17 and there wasn't anything I thought made a useful difference. I also tried pulling all the clang-format comments to see if we could ditch them. Only a few were unnecessary and they've been removed in this PR. |
One thing I've noticed is that my Ubuntu 23.10 VM uses 17.0.2 while the action uses 17.0.4 and there are minor differences in the output. Not sure if anyone cares about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally a little better than previously 👍🏼
Also bump the clang-format GitHub actions to 17
Also bump the clang-format GitHub actions to 17
Also bump the clang-format GitHub actions to 17
* Correct publish path * Update clang-format to 17 (#4931) Also bump the clang-format GitHub actions to 17 * Committing clang-format changes
clang-format 13 is getting old. This updates the repository to 17.
Formatting changes are minimal. A few unnecessary
clang-format off/on
lineswere removed, but no new options have been added to .clang-format.