-
Notifications
You must be signed in to change notification settings - Fork 108
Issue with PR formatting in Fedora 42 (newer clang-format) #2263
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
Comments
It looks like clang-format has changed its behavior for |
clang release notes: https://releases.llvm.org/20.1.0/tools/clang/docs/ReleaseNotes.html#clang-format A difference in
|
Clang-format 20.1.3 in Fedora 42 formats code differently than clang-format 19.1.7 in Fedora 41 and earlier, causing issues with the pre-commit format check.
clang-format version 19.1.7 (Fedora 19.1.7-3.fc41)
clang-format version 20.1.3 (Fedora 20.1.3-1.fc42)
Examples of reformatting existing code:
The text was updated successfully, but these errors were encountered: