You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit makes the following changes:
- Disallow single-line functions. This matches the dominant style used
in Open MPI.
- Increase the penalty for breaking on assigment slightly lower than
breaking before first argument. That will ensure that long assignments
of the form foo = bar(baz) will break after the = before trying to
break after the open-paren.
- Break before binary operators. This is a change in style that I will
revert if there is any push back. This causes long statements to break
before the binary operator not after it. This is the currently
recommended practice.
- Don't allow all arguments on the next line. This may cause a break
after an open paren which is not desired.
- Change AlignOperands to true (synonym for Align in v11+) to support
clang-format v10.
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
0 commit comments