aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-30 07:51:23 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-30 07:51:23 +0100
commit034cd404a129103a8dd7747e6bd00ffd5550da93 (patch)
treed27946517d4d9333abd26ac50bbd4a436093e2ce /.clang-format
parent3e7902f7d790a486d3d9cb978df193f07f3a6ad9 (diff)
downloadnihil-034cd404a129103a8dd7747e6bd00ffd5550da93.tar.gz
nihil-034cd404a129103a8dd7747e6bd00ffd5550da93.tar.bz2
refactoring
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format36
1 files changed, 34 insertions, 2 deletions
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