aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
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