From 1847c92bfb9fec90cf54b711f72f04a9a723df57 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 6 Nov 2019 16:15:37 -0500 Subject: [PATCH] format: use AfterCaseLabel: true for switch case MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Rajotte Change-Id: Ib0bb3c222441e7c6afcf7ea5c5c95bbf8413be57 Signed-off-by: Jérémie Galarneau --- .clang-format | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index fff075fbf..3fc5c6737 100644 --- a/.clang-format +++ b/.clang-format @@ -13,6 +13,7 @@ AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false BinPackArguments: true BinPackParameters: false +BreakBeforeBraces: Custom BraceWrapping: AfterControlStatement: false AfterEnum: false @@ -21,12 +22,12 @@ BraceWrapping: AfterStruct: false AfterUnion: false AfterExternBlock: false + AfterCaseLabel: true BeforeCatch: false BeforeElse: false IndentBraces: false SplitEmptyFunction: true BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom BreakBeforeTernaryOperators: false BreakStringLiterals: false ColumnLimit: 80 -- 2.34.1