-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
87 lines (79 loc) · 2.3 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
BasedOnStyle: WebKit,
TabWidth: 4,
IndentWidth: 4,
UseTab: Always,
ColumnLimit: 150,
Language: Cpp,
DisableFormat: false,
Standard: Cpp11,
AccessModifierOffset: -4,
AlignAfterOpenBracket: false,
AlignConsecutiveAssignments: None,
AlignConsecutiveDeclarations: None,
AlignOperands: Align,
AlignTrailingComments: true,
AllowAllParametersOfDeclarationOnNextLine: true,
AllowShortBlocksOnASingleLine: Empty,
AllowShortCaseLabelsOnASingleLine: true,
AllowShortFunctionsOnASingleLine: Empty,
AllowShortLoopsOnASingleLine: false,
AlwaysBreakAfterReturnType: None,
AlwaysBreakBeforeMultilineStrings: false,
AlwaysBreakTemplateDeclarations: Yes,
BinPackArguments: false,
BinPackParameters: false,
BreakBeforeBraces: Custom,
BraceWrapping:
{
AfterClass: false,
AfterControlStatement: false,
AfterEnum: false,
AfterFunction: false,
AfterNamespace: false,
AfterStruct: false,
AfterUnion: false,
BeforeCatch: false,
BeforeElse: false,
IndentBraces: false,
AfterExternBlock: true,
SplitEmptyFunction: false,
SplitEmptyRecord: false,
SplitEmptyNamespace: true,
},
BreakBeforeInheritanceComma: false,
BreakBeforeBinaryOperators: None,
BreakBeforeTernaryOperators: false,
BreakStringLiterals: false,
CompactNamespaces: true,
ConstructorInitializerIndentWidth: 4,
ContinuationIndentWidth: 4,
Cpp11BracedListStyle: true,
SpaceBeforeCpp11BracedList: true,
DerivePointerAlignment: false,
ExperimentalAutoDetectBinPacking: false,
IndentCaseLabels: true,
FixNamespaceComments: true,
IndentWrappedFunctionNames: false,
KeepEmptyLinesAtTheStartOfBlocks: false,
MaxEmptyLinesToKeep: 1,
NamespaceIndentation: None,
PointerAlignment: Left,
SpaceAfterCStyleCast: false,
SpaceBeforeAssignmentOperators: true,
SpaceInEmptyParentheses: false,
SpacesBeforeTrailingComments: 1,
SpacesInAngles: false,
SpacesInConditionalStatement: false,
SpacesInContainerLiterals: false,
SpacesInCStyleCastParentheses: false,
SpacesInParentheses: false,
SpacesInSquareBrackets: false,
SpaceAfterTemplateKeyword: true,
SpaceBeforeInheritanceColon: true,
SortUsingDeclarations: true,
SortIncludes: false,
ReflowComments: false,
IncludeBlocks: Preserve,
IndentPPDirectives: BeforeHash,
}