Krolyxon
Commit 8c87619

Branches

Refs →

nsxiv8c87619

add clang-format

Author
Berke Kocaoğlu
Date
2022-07-02 21:02 +0600
Committer
NRK · 2023-03-11 18:35 +0600
Parent
19b4719
Commit
8c876199b1a7ce3d136809c7149dde91a51be3e8

+79 −0

1 file changed

  1. A .clang-format +79 −0
A .clang-format View
@@ -0,0 +1,79 @@
1+---
2+
3+Standard: c++03
4+
5+ColumnLimit: 0
6+
7+AccessModifierOffset: -8
8+ConstructorInitializerIndentWidth: 8
9+ContinuationIndentWidth: 8
10+IndentCaseLabels: false
11+IndentGotoLabels: false
12+IndentPPDirectives: None
13+IndentWidth: 8
14+IndentWrappedFunctionNames: false
15+NamespaceIndentation: None
16+TabWidth: 8
17+UseTab: AlignWithSpaces
18+
19+AlignAfterOpenBracket: true
20+AlignConsecutiveAssignments: false
21+AlignConsecutiveDeclarations: false
22+AlignEscapedNewlines: false
23+AlignOperands: true
24+AlignTrailingComments: false
25+DerivePointerAlignment: true
26+PointerAlignment: true
27+
28+AllowAllParametersOfDeclarationOnNextLine: false
29+AllowShortBlocksOnASingleLine: true
30+AllowShortCaseLabelsOnASingleLine: false
31+AllowShortFunctionsOnASingleLine: None
32+AllowShortIfStatementsOnASingleLine: false
33+AllowShortLoopsOnASingleLine: false
34+
35+AlwaysBreakAfterDefinitionReturnType: None
36+AlwaysBreakAfterReturnType: None
37+AlwaysBreakBeforeMultilineStrings: false
38+AlwaysBreakTemplateDeclarations: false
39+
40+BinPackArguments: true
41+BinPackParameters: true
42+
43+BreakBeforeBraces: Custom
44+BraceWrapping:
45+ AfterControlStatement: MultiLine
46+ AfterEnum: false
47+ AfterExternBlock: false
48+ AfterFunction: true
49+ AfterStruct: false
50+ AfterUnion: false
51+ BeforeElse: false
52+ IndentBraces: false
53+ SplitEmptyFunction: true
54+
55+BreakBeforeBinaryOperators: None
56+BreakBeforeInheritanceComma: false
57+BreakBeforeTernaryOperators: false
58+BreakConstructorInitializers: BeforeComma
59+BreakConstructorInitializersBeforeComma: false
60+BreakStringLiterals: true
61+
62+Cpp11BracedListStyle: false
63+MaxEmptyLinesToKeep: 1
64+
65+ReflowComments: false
66+
67+SortIncludes: true
68+
69+SpaceAfterCStyleCast: false
70+SpaceBeforeAssignmentOperators: true
71+SpaceBeforeParens: ControlStatements
72+SpaceInEmptyParentheses: false
73+SpacesBeforeTrailingComments: 1
74+SpacesInAngles: false
75+SpacesInCStyleCastParentheses: false
76+SpacesInParentheses: false
77+SpacesInSquareBrackets: false
78+
79+...