From cc29d1e2c46e01c544ef44c79d72b7bcc5d39ba7 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Thu, 28 May 2020 13:25:06 -0400 Subject: [tools] Update clang-format config Allow arguments and parameters to be split over multiple lines if they don't fit on one line --- src/.clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/.clang-format') 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 -- cgit v1.2.3