From 7242a53302712da9b02a65a57bb955b23cf21999 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Mon, 13 Mar 2023 15:04:25 +0800 Subject: [PATCH] made some clang-format changes BraceWrapping->AfterControlStatement:false ->BeforeCatch:true --- .clang-format | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index f6756c96..d9156514 100644 --- a/.clang-format +++ b/.clang-format @@ -1,11 +1,11 @@ # Format Style Options - Created with Clang Power Tools --- AccessModifierOffset: -1 -AlignAfterOpenBracket: DontAlign +AlignAfterOpenBracket: Align AlignConsecutiveAssignments: Consecutive AlignEscapedNewlines: Left AlignOperands: DontAlign -AlignTrailingComments: false +AlignTrailingComments: true AllowAllArgumentsOnNextLine: false AllowShortBlocksOnASingleLine: Empty AllowShortLambdasOnASingleLine: None @@ -17,7 +17,7 @@ BinPackParameters: false BraceWrapping: AfterCaseLabel: false AfterClass: true - AfterControlStatement: true + AfterControlStatement: false AfterEnum: false AfterFunction: true AfterNamespace: false @@ -25,7 +25,7 @@ BraceWrapping: AfterStruct: true AfterUnion: true AfterExternBlock: false - BeforeCatch: false + BeforeCatch: true BeforeElse: true IndentBraces: false SplitEmptyFunction: true