Skip to content

Commit

Permalink
.clang-format : add "AlwaysBreakAfterReturnType: All" for our pretty …
Browse files Browse the repository at this point in the history
…functions

Part of solution for issue zeromq#1070
  • Loading branch information
jimklimov committed Mar 9, 2018
1 parent 13fe933 commit dcc277a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
SpaceAfterCStyleCast: true
BreakBeforeTernaryOperators: true
AlwaysBreakAfterReturnType: All
1 change: 1 addition & 0 deletions zproject_autotools.gsl
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
SpaceAfterCStyleCast: true
BreakBeforeTernaryOperators: true
AlwaysBreakAfterReturnType: All
.else
. echo "NOT regenerating an existing .clang-format file; you might want to move yours out of the way and re-generate the project again to get updated settings"
.endif
Expand Down

0 comments on commit dcc277a

Please sign in to comment.