Skip to content

Commit

Permalink
Merge pull request FRRouting#13848 from LabNConsulting/chopps/clang-f…
Browse files Browse the repository at this point in the history
…ormat-tweak

tools: less aggressive settings for clang-format
  • Loading branch information
ton31337 committed Jun 26, 2023
2 parents 9580580 + ab06853 commit 9d9555f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ ObjCSpaceBeforeProtocolList: true
## Lowest Penalty Value wins. Values are used by clang-format to influence
## the brak decisions, it's a bit of voodoo magic though.
## Originally from linux which was "Taken from git's rules"
PenaltyBreakAssignment: 10
PenaltyBreakAssignment: 30
PenaltyBreakComment: 10
PenaltyBreakFirstLessLess: 0
# Don't break a string into multi-string-fragments
PenaltyBreakString: 200
PenaltyBreakString: 1000
# Allow going past the ColumnLimit to keep function arguments aligned
# with the open parenthesis.
PenaltyBreakBeforeFirstCallParameter: 200
PenaltyBreakBeforeFirstCallParameter: 1000
# Try and stay under ColumnLimit, but not at the cost of incomprehensible code.
PenaltyExcessCharacter: 5
PenaltyExcessCharacter: 30
PenaltyReturnTypeOnItsOwnLine: 60

PointerAlignment: Right
Expand Down

0 comments on commit 9d9555f

Please sign in to comment.