Skip to content

Commit 3cc5410

Browse files
author
nitrocaster
committed
Update clang-format config.
1 parent 060ceaa commit 3cc5410

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/.clang-format

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ AccessModifierOffset: -4
44
AlignAfterOpenBracket: DontAlign
55
AlignConsecutiveAssignments: false
66
AlignConsecutiveDeclarations: false
7-
AlignEscapedNewlinesLeft: false
8-
AlignOperands: true
9-
AlignTrailingComments: true
7+
AlignEscapedNewlinesLeft: true
8+
AlignOperands: false
9+
AlignTrailingComments: false
1010
AllowAllParametersOfDeclarationOnNextLine: true
11-
AllowShortBlocksOnASingleLine: true
11+
AllowShortBlocksOnASingleLine: false
1212
AllowShortCaseLabelsOnASingleLine: true
13-
AllowShortFunctionsOnASingleLine: Inline
14-
AllowShortIfStatementsOnASingleLine: true
13+
AllowShortFunctionsOnASingleLine: All
14+
AllowShortIfStatementsOnASingleLine: false
1515
AllowShortLoopsOnASingleLine: false
1616
AlwaysBreakAfterDefinitionReturnType: None
1717
AlwaysBreakAfterReturnType: None
18-
AlwaysBreakBeforeMultilineStrings: false
18+
AlwaysBreakBeforeMultilineStrings: true
1919
AlwaysBreakTemplateDeclarations: true
2020
BinPackArguments: true
2121
BinPackParameters: true
@@ -75,7 +75,7 @@ SpaceAfterCStyleCast: false
7575
SpaceBeforeAssignmentOperators: true
7676
SpaceBeforeParens: ControlStatements
7777
SpaceInEmptyParentheses: false
78-
SpacesBeforeTrailingComments: 2
78+
SpacesBeforeTrailingComments: 1
7979
SpacesInAngles: false
8080
SpacesInContainerLiterals: true
8181
SpacesInCStyleCastParentheses: false

0 commit comments

Comments
 (0)