-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
60 lines (59 loc) · 1.67 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
---
BasedOnStyle: llvm
AccessModifierOffset: '-4'
AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: 'true'
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: 'true'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
Cpp11BracedListStyle: 'true'
IndentCaseLabels: 'true'
Language: Cpp
MaxEmptyLinesToKeep: '2'
NamespaceIndentation: Inner
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: Never
SpaceInEmptyParentheses: 'false'
Standard: Auto
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 100
IndentPPDirectives: AfterHash
BreakConstructorInitializers: AfterColon
ConstructorInitializerIndentWidth: 4
IncludeBlocks: Regroup
BraceWrapping:
SplitEmptyFunction: false
AfterEnum: false
AfterStruct: false
AfterClass : false
AfterControlStatement: false
AfterNamespace: false
BreakBeforeInheritanceComma: false
BreakStringLiterals: true
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: true
SpaceAfterCStyleCast : false
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 4
SpacesInContainerLiterals: true
...