From 0fdee2f7b81b5796c685d9397c4e93b6d3c1561f Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Fri, 9 Aug 2019 13:59:18 +0300 Subject: [PATCH] Change clang-format to keep "} else" brace on same line --- .clang-format | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 04e9856..67b9bd0 100644 --- a/.clang-format +++ b/.clang-format @@ -8,11 +8,8 @@ AllowShortBlocksOnASingleLine: true AllowShortCaseLabelsOnASingleLine: true AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: true -BraceWrapping: - AfterFunction: true - BeforeElse: true BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom +BreakBeforeBraces: Linux ContinuationIndentWidth: 0 DerivePointerAlignment: true MaxEmptyLinesToKeep: 2