gplugin/gplugin

Adjust function wrapping
develop
2020-02-14, Richard Laager
80a193a2c6c3
Parents 8a000465786a
Children d286b22e30f0
Adjust function wrapping

This sets:
AlignAfterOpenBracket: AlwaysBreak
AllowAllArgumentsOnNextLine: false
BinPackArguments: false

This achieves the wrapping style we want. AllowAllArgumentsOnNextLine raises
the clang-format requirement to version 9.
--- a/.clang-format Fri Feb 14 00:34:39 2020 -0600
+++ b/.clang-format Fri Feb 14 17:47:12 2020 -0600
@@ -1,13 +1,14 @@
---
Language: Cpp
AccessModifierOffset: -2
-AlignAfterOpenBracket: Align
+AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: DontAlign
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
+AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
@@ -17,7 +18,7 @@
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
-BinPackArguments: true
+BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
@@ -89,10 +90,6 @@
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Right
-RawStringFormats:
- - Delimiter: pb
- Language: TextProto
- BasedOnStyle: google
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true