clang-format: Adjust style of pointers
We gernerally have our pointers aligned to the right. SpaceAroundPointerQualifiers makes sure "const char * const" is formatted nicely.
This commit is contained in:
parent
0fde92d3e4
commit
2581dbcb0f
1 changed files with 10 additions and 8 deletions
|
@ -39,8 +39,8 @@ BraceWrapping:
|
|||
SplitEmptyRecord: false
|
||||
SplitEmptyNamespace: false
|
||||
BreakBeforeBraces: Custom
|
||||
BreakInheritanceList: BeforeComma
|
||||
BreakBeforeTernaryOperators: false
|
||||
BreakInheritanceList: BeforeComma
|
||||
BreakStringLiterals: false
|
||||
ColumnLimit: 109
|
||||
CompactNamespaces: true
|
||||
|
@ -117,7 +117,9 @@ PenaltyBreakFirstLessLess: 50
|
|||
PenaltyBreakString: 0
|
||||
PenaltyExcessCharacter: 10
|
||||
PenaltyReturnTypeOnItsOwnLine: 100
|
||||
PointerAlignment: Right
|
||||
SpaceAfterCStyleCast: true
|
||||
SpaceAroundPointerQualifiers: Both
|
||||
SpaceBeforeParens: ControlStatementsExceptForEachMacros
|
||||
SpacesInAngles: true
|
||||
TabWidth: 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue