Merge branch 'bw/git-clang-format'
Adjust clang-format penalty parameters. * bw/git-clang-format: clang-format: adjust line break penaltiesmaint
commit
4812340b78
|
@ -153,13 +153,13 @@ KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
|
|
||||||
# Penalties
|
# Penalties
|
||||||
# This decides what order things should be done if a line is too long
|
# This decides what order things should be done if a line is too long
|
||||||
PenaltyBreakAssignment: 100
|
PenaltyBreakAssignment: 10
|
||||||
PenaltyBreakBeforeFirstCallParameter: 100
|
PenaltyBreakBeforeFirstCallParameter: 30
|
||||||
PenaltyBreakComment: 100
|
PenaltyBreakComment: 10
|
||||||
PenaltyBreakFirstLessLess: 0
|
PenaltyBreakFirstLessLess: 0
|
||||||
PenaltyBreakString: 100
|
PenaltyBreakString: 10
|
||||||
PenaltyExcessCharacter: 5
|
PenaltyExcessCharacter: 100
|
||||||
PenaltyReturnTypeOnItsOwnLine: 0
|
PenaltyReturnTypeOnItsOwnLine: 5
|
||||||
|
|
||||||
# Don't sort #include's
|
# Don't sort #include's
|
||||||
SortIncludes: false
|
SortIncludes: false
|
||||||
|
|
Loading…
Reference in New Issue