From 034cd404a129103a8dd7747e6bd00ffd5550da93 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Mon, 30 Jun 2025 07:51:23 +0100 Subject: refactoring --- .clang-format | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index aeed635..390acb9 100644 --- a/.clang-format +++ b/.clang-format @@ -4,9 +4,41 @@ PPIndentWidth: -1 UseTab: AlignWithSpaces IndentPPDirectives: AfterHash ColumnLimit: 100 +AccessModifierOffset: -8 +IndentRequiresClause: false +RequiresClausePosition: OwnLine +ContinuationIndentWidth: 8 -SeparateDefinitionBlocks: Always +ReflowComments: Always + +SeparateDefinitionBlocks: Leave +AllowShortFunctionsOnASingleLine: None + +BreakConstructorInitializers: BeforeComma +ConstructorInitializerIndentWidth: 8 + +BreakAfterReturnType: Automatic +PenaltyReturnTypeOnItsOwnLine: 0 +BreakTemplateDeclarations: Yes + +BracedInitializerIndentWidth: 8 +BreakBeforeBraces: Custom +BraceWrapping: + AfterCaseLabel: false + AfterClass: true + AfterControlStatement: Never + AfterEnum: true + AfterFunction: true + AfterNamespace: false + AfterStruct: true + AfterUnion: true + AfterExternBlock: false + BeforeCatch: false + BeforeElse: false + BeforeLambdaBody: false + SplitEmptyNamespace: true + SplitEmptyRecord: true NamespaceIndentation: None FixNamespaceComments: true -WrapNamespaceBodyWithEmptyLines: Always +#WrapNamespaceBodyWithEmptyLines: Always -- cgit v1.2.3