aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-05-28 13:25:06 -0400
committerJohn Newbery <john@johnnewbery.com>2020-05-28 13:26:18 -0400
commitcc29d1e2c46e01c544ef44c79d72b7bcc5d39ba7 (patch)
tree515ed5967072a13fb9d2846cd4071bd7c8a6aade
parentea3e9e0b84c57df4110ca9e5ccced65c5bbe4611 (diff)
[tools] Update clang-format config
Allow arguments and parameters to be split over multiple lines if they don't fit on one line
-rw-r--r--src/.clang-format5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/.clang-format b/src/.clang-format
index aae039dd77..a8f8565f80 100644
--- a/src/.clang-format
+++ b/src/.clang-format
@@ -1,9 +1,10 @@
Language: Cpp
AccessModifierOffset: -4
-AlignAfterOpenBracket: false
+AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
-AllowAllParametersOfDeclarationOnNextLine: false
+AllowAllArgumentsOnNextLine : true
+AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All