From ffdc46d313148e8fe467615f66b555f7687ff9ea Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Dec 2020 13:08:20 +0000 Subject: [PATCH] A couple more CLang-Format fixes. These are probably default values for the base style, but this makes it more explicit what our coding style is. --- _clang-format | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_clang-format b/_clang-format index 54a01045ee..fd4568931b 100644 --- a/_clang-format +++ b/_clang-format @@ -5,11 +5,13 @@ AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: true AlignOperands: Align AlignTrailingComments: true +AllowAllConstructorInitializersOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: InlineOnly AllowShortIfStatementsOnASingleLine: Never +AllowShortLambdasOnASingleLine: None AllowShortLoopsOnASingleLine: false AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false @@ -19,6 +21,7 @@ BinPackParameters: true BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Allman BreakBeforeTernaryOperators: true +BreakConstructorInitializers: AfterColon BreakConstructorInitializersBeforeComma: false BreakStringLiterals: true ColumnLimit: 100