-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
70 lines (51 loc) · 1.39 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
Language: Cpp
Standard: Cpp11
AccessModifierOffset: -4
PointerAlignment: Right
SortUsingDeclarations: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: false
AlignTrailingComments: false
SpaceBeforeParens: Never
SpacesInParentheses: true
SpaceInEmptyParentheses: false
SpaceBeforeAssignmentOperators: true
SpacesBeforeTrailingComments: 1
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
#SpacesInSquareBrackets: true
Cpp11BracedListStyle: false
MaxEmptyLinesToKeep: 2
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: false
IndentWrappedFunctionNames: false
SpaceAfterCStyleCast: false
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 120
IndentWidth: 4
UseTab: Always
TabWidth: 4
#SplitEmptyFunction: true
#SplitEmptyRecord: true
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
AfterCaseLabel: true
BreakBeforeBraces: Custom
SortIncludes: false
...