Skip to content

Commit e596ece

Browse files
authored
Clang-format tweaks (#15906)
1 parent 17c0ca6 commit e596ece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.clang-format

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ AlignConsecutiveAssignments: 'true'
55
AlignConsecutiveDeclarations: 'true'
66
AlignOperands: 'true'
77
AllowAllParametersOfDeclarationOnNextLine: 'false'
8+
AllowShortCaseLabelsOnASingleLine: 'false'
9+
AllowShortFunctionsOnASingleLine: Empty
10+
AllowShortLoopsOnASingleLine: 'false'
811
AlwaysBreakAfterDefinitionReturnType: None
912
AlwaysBreakAfterReturnType: None
1013
AlwaysBreakBeforeMultilineStrings: 'false'
@@ -20,6 +23,7 @@ SortIncludes: 'false'
2023
SpaceBeforeAssignmentOperators: 'true'
2124
SpaceBeforeParens: ControlStatements
2225
SpaceInEmptyParentheses: 'false'
26+
SpacesBeforeTrailingComments: 1
2327
TabWidth: '4'
2428
UseTab: Never
2529

0 commit comments

Comments
 (0)