(ClangFormat)~fixing some extras that were annoying me

Things that kinda annoyed me about LLVM style which I wanted to clear up.
This commit is contained in:
2021-11-29 03:04:01 +00:00
parent f61c304ea3
commit 25930bcd7c

View File

@@ -8,10 +8,11 @@ AlignConsecutiveBitFields: true
AlignConsecutiveMacros: true AlignConsecutiveMacros: true
AlignEscapedNewlines: true AlignEscapedNewlines: true
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: false
AllowShortLambdasOnASingleLine: Empty AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Custom
NamespaceIndentation: All NamespaceIndentation: All
BreakBeforeBraces: Custom
BraceWrapping: BraceWrapping:
AfterEnum: true AfterEnum: true
AfterStruct: true AfterStruct: true
@@ -21,7 +22,8 @@ BraceWrapping:
AfterUnion: true AfterUnion: true
AfterControlStatement: true AfterControlStatement: true
AfterExternBlock: true AfterExternBlock: true
BeforeLambdaBody: true
BeforeCatch: true BeforeCatch: true
BeforeElse: true BeforeElse: true
IndentBraces: false IndentBraces: false
SplitEmptyFunction: true SplitEmptyFunction: false