Set clang-format options

This commit is contained in:
Anthony Rose 2024-09-12 20:24:11 +01:00
parent ea106ab4db
commit ad68dac46e

View file

@ -31,7 +31,7 @@ BinPackParameters: true
BitFieldColonSpacing: Both
BreakAfterJavaFieldAnnotations: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeBraces: Custom
BreakBeforeConceptDeclarations: true
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: false
@ -126,6 +126,25 @@ TabWidth: 8
UseCRLF: false
UseTab: Never
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true