e596ece87aac51f053f1f26f5f5bff964d7c351a
- Author
- Ryan <fauxpark@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Clang-format tweaks (#15906)
Diff
1diff --git a/.clang-format b/.clang-format
2index b4f7967831abba24f987de8ebb1090f276a4dad3..ce145e299c86b93034f24aac8c93c42a968143f9 100644
3--- a/.clang-format
4+++ b/.clang-format
5@@ -5,6 +5,9 @@ AlignConsecutiveAssignments: 'true'
6 AlignConsecutiveDeclarations: 'true'
7 AlignOperands: 'true'
8 AllowAllParametersOfDeclarationOnNextLine: 'false'
9+AllowShortCaseLabelsOnASingleLine: 'false'
10+AllowShortFunctionsOnASingleLine: Empty
11+AllowShortLoopsOnASingleLine: 'false'
12 AlwaysBreakAfterDefinitionReturnType: None
13 AlwaysBreakAfterReturnType: None
14 AlwaysBreakBeforeMultilineStrings: 'false'
15@@ -20,6 +23,7 @@ SortIncludes: 'false'
16 SpaceBeforeAssignmentOperators: 'true'
17 SpaceBeforeParens: ControlStatements
18 SpaceInEmptyParentheses: 'false'
19+SpacesBeforeTrailingComments: 1
20 TabWidth: '4'
21 UseTab: Never
22