-
-
Notifications
You must be signed in to change notification settings - Fork 7k
lib: fix formatting nits (part 3) #19811
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
Conversation
This is a tricky bit with no standard solution. clang-format suggests: `} break;`. curl uses a break in a separate line either in or out of the block. In this case the outer solution triggered checksrc.
I formatted this manually.
|
It's not 100% and there are likely settings I missed. |
|
Not sure it is relevant anymore but we once tried working on a complete clang format setup for curl over here: https://github.com/curl/curl/wiki/clang-format-style |
|
Nice, I'll check! I keep a list of cases it doesn't handle well, or which some seemed |
From
lib/htolib/w.part 1: 47a1ab2 #19764
part 2: 86b3464 #19800
https://github.com/curl/curl/pull/19811/files?w=1