-
Notifications
You must be signed in to change notification settings - Fork 61
/
.clang-format
63 lines (63 loc) · 1.77 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
---
BasedOnStyle: Mozilla
AccessModifierOffset: '-4'
AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: 'true'
AlignOperands: false
AlignTrailingComments: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: 'true'
BinPackArguments: 'false'
BinPackParameters: 'true'
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: 'true'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
Cpp11BracedListStyle: false
IndentCaseLabels: 'true'
Language: Cpp
MaxEmptyLinesToKeep: '2'
NamespaceIndentation: All
PointerAlignment: Left
ReflowComments: false
SortIncludes: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
Standard: Auto
TabWidth: 4
IndentWidth: 4
UseTab: Always
ColumnLimit: 0
#IndentPPDirectives: AfterHash
BreakConstructorInitializers: AfterColon
BreakBeforeInheritanceComma : false
ConstructorInitializerIndentWidth: 4
SpacesInCStyleCastParentheses: false
SpacesBeforeTrailingComments: 1
ExperimentalAutoDetectBinPacking: true
AllowAllParametersOfDeclarationOnNextLine: false
ContinuationIndentWidth: 4
BraceWrapping:
SplitEmptyFunction: false
AfterEnum: true
AfterControlStatement: true
AfterStruct: true
AfterClass: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
#AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
AlignAfterOpenBracket: DontAlign
BreakBeforeBinaryOperators: NonAssignment
...