Updates to .clang-format (#7683)

1) No longer compact namespaces (revert from #5127)
2) Don't break on return type for long function declarations
This commit is contained in:
Pieter Noordhuis
2018-05-18 12:11:17 -07:00
committed by Peter Goldsborough
parent 2f5494ac14
commit 27ea7148fe

View File

@ -37,7 +37,7 @@ BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: true
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
@ -68,7 +68,7 @@ PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyReturnTypeOnItsOwnLine: 2000000
PointerAlignment: Left
ReflowComments: true
SortIncludes: true