made some clang-format changes

BraceWrapping->AfterControlStatement:false
             ->BeforeCatch:true
This commit is contained in:
xiaoyifang 2023-03-13 15:04:25 +08:00 committed by xiaoyifang
parent 5b56790910
commit 7242a53302

View file

@ -1,11 +1,11 @@
# Format Style Options - Created with Clang Power Tools # Format Style Options - Created with Clang Power Tools
--- ---
AccessModifierOffset: -1 AccessModifierOffset: -1
AlignAfterOpenBracket: DontAlign AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: Consecutive AlignConsecutiveAssignments: Consecutive
AlignEscapedNewlines: Left AlignEscapedNewlines: Left
AlignOperands: DontAlign AlignOperands: DontAlign
AlignTrailingComments: false AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: Empty AllowShortBlocksOnASingleLine: Empty
AllowShortLambdasOnASingleLine: None AllowShortLambdasOnASingleLine: None
@ -17,7 +17,7 @@ BinPackParameters: false
BraceWrapping: BraceWrapping:
AfterCaseLabel: false AfterCaseLabel: false
AfterClass: true AfterClass: true
AfterControlStatement: true AfterControlStatement: false
AfterEnum: false AfterEnum: false
AfterFunction: true AfterFunction: true
AfterNamespace: false AfterNamespace: false
@ -25,7 +25,7 @@ BraceWrapping:
AfterStruct: true AfterStruct: true
AfterUnion: true AfterUnion: true
AfterExternBlock: false AfterExternBlock: false
BeforeCatch: false BeforeCatch: true
BeforeElse: true BeforeElse: true
IndentBraces: false IndentBraces: false
SplitEmptyFunction: true SplitEmptyFunction: true