Skip to content

Commit cc29d1e

Browse files
committed
[tools] Update clang-format config
Allow arguments and parameters to be split over multiple lines if they don't fit on one line
1 parent ea3e9e0 commit cc29d1e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/.clang-format

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Language: Cpp
22
AccessModifierOffset: -4
3-
AlignAfterOpenBracket: false
3+
AlignAfterOpenBracket: true
44
AlignEscapedNewlinesLeft: true
55
AlignTrailingComments: true
6-
AllowAllParametersOfDeclarationOnNextLine: false
6+
AllowAllArgumentsOnNextLine : true
7+
AllowAllParametersOfDeclarationOnNextLine: true
78
AllowShortBlocksOnASingleLine: false
89
AllowShortCaseLabelsOnASingleLine: true
910
AllowShortFunctionsOnASingleLine: All

0 commit comments

Comments
 (0)