-
Notifications
You must be signed in to change notification settings - Fork 95
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 and run clang-format #1368
Conversation
apart from the (very minor) pointless indentation of some values in this file, lgtm |
37e32cc
to
2a9fe54
Compare
I ran
|
This looks largely ok. I'm surprised by the following change:
I thought I was aiming for
or something similar. Anyone knows what setting this is? |
use one-per-line for parameters/arguments if they don't fit on one line set AllowShortFunctionsOnASingleLine to InlineOnly, although it doesn't seem to quite work properly, i.e. it no longer puts short functions in the class on one line, but it does "spread" out-of-class definitions.
2a9fe54
to
a4c49f9
Compare
@casperdcl how does this work with STIR/scripts/maintenance/git-fame.sh Lines 20 to 21 in b486fc8
Are all these non-trivial lines going to be attributed to stir-maintainer ? If so, not much we can do about it I guess.
|
I couldn't get @ashgillman's suggested process #724 (comment) and #724 (comment) to work (I didn't rebase though). In the end, it looks like the following will have to be our recommendation for an existing branch. (replacing
@casperdcl is this ok? |
Ready so I'll merge. @casperdcl still interested in the questions above. |
@casperdcl
This is a bit sad. I've created casperdcl/git-fame#94... |
Finally enact #98
update: use one-per-line for parameters/arguments if they don't fit on one line. @danieldeidda @markus-jehl @casperdcl @dvolgyes any final comments on this file?
I will also push changes here, after one more PR is merged. This will therefore be rebased, commits dropped etc until happy.