From: Jonathan Rajotte Date: Wed, 6 Nov 2019 21:15:37 +0000 (-0500) Subject: format: use AfterCaseLabel: true for switch case X-Git-Tag: v2.12.0-rc1~109 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1847c92bfb9fec90cf54b711f72f04a9a723df57;p=lttng-tools.git format: use AfterCaseLabel: true for switch case Signed-off-by: Jonathan Rajotte Change-Id: Ib0bb3c222441e7c6afcf7ea5c5c95bbf8413be57 Signed-off-by: Jérémie Galarneau --- 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