-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Clang-format: Trailing return type formatting regression starting from v18 #105480
Labels
Comments
I think this is related #91771, as this issue is also bisected to e00d32a After ccae7b4, the formatting is now this:
It's better, but still different, though. Probably has to do with changes to SplitPenalty as mentioned in #91771 |
owenca
added a commit
to owenca/llvm-project
that referenced
this issue
Aug 22, 2024
owenca
added a commit
to owenca/llvm-project
that referenced
this issue
Aug 24, 2024
…m#70519)" This reverts commit e00d32a and adds a test for lambda arrow SplitPenalty. Fixes llvm#105480.
owenca
added a commit
to owenca/llvm-project
that referenced
this issue
Aug 29, 2024
llvm#105923) …519)" This reverts commit e00d32a and adds a test for lambda arrow SplitPenalty. Fixes llvm#105480.
5c4lar
pushed a commit
to 5c4lar/llvm-project
that referenced
this issue
Aug 29, 2024
llvm#105923) …519)" This reverts commit e00d32a and adds a test for lambda arrow SplitPenalty. Fixes llvm#105480.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a formatting "regression" starting from clang-format v18
This is with
IndentBlock
onAlignAfterOpenBracket
and I can't seem to be able to reproduce the previous formatting.Config:
The text was updated successfully, but these errors were encountered: