Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 56c4fe1

Browse files
committed
Tweak penalties
Allow some excess characters per line if that improves readability.
1 parent 45d0b7e commit 56c4fe1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.clang-format

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
4040
DerivePointerBinding: false
4141
PointerBindsToType: true
4242

43-
PenaltyExcessCharacter: 1000
44-
PenaltyBreakBeforeFirstCallParameter: 19
45-
PenaltyBreakComment: 60
46-
PenaltyBreakFirstLessLess: 1000
43+
PenaltyExcessCharacter: 50
44+
PenaltyBreakBeforeFirstCallParameter: 30
45+
PenaltyBreakComment: 1000
46+
PenaltyBreakFirstLessLess: 10
4747
PenaltyBreakString: 100
48-
PenaltyReturnTypeOnItsOwnLine: 70
48+
PenaltyReturnTypeOnItsOwnLine: 50
4949

5050
SpacesBeforeTrailingComments: 2
5151
SpacesInParentheses: false

0 commit comments

Comments
 (0)