-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
64 lines (47 loc) · 1.62 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
Language: Cpp
ColumnLimit: 80
IndentWidth: 8
UseTab: Never
# Function/method declarations
AlignAfterOpenBracket: Align
BinPackParameters: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
PenaltyReturnTypeOnItsOwnLine: 10000
AllowAllParametersOfDeclarationOnNextLine: false
# Function/method calls
BinPackArguments: false
PackConstructorInitializers: Never
BreakBeforeBraces: Stroustrup
AllowShortFunctionsOnASingleLine: None
AccessModifierOffset: -4
PointerAlignment: Left
SeparateDefinitionBlocks: Always
MaxEmptyLinesToKeep: 1
FixNamespaceComments: false
KeepEmptyLinesAtTheStartOfBlocks: false
#AllowShortBlocksOnASingleLine: Empty # Empty
#AllowShortIfStatementsOnASingleLine: Never # Never
#AllowShortLoopsOnASingleLine: false
#AllowShortCaseLabelsOnASingleLine: false
#AllowShortEnumsOnASingleLine: true
#AllowShortLambdasOnASingleLine: Empty
#IndentCaseBlocks: false
#IndentCaseLabels: true
#QualifierAlignment: Leave
#IncludeBlocks: Preserve
#SortIncludes: Never
#SpaceAfterCStyleCast: false
#SpaceAfterLogicalNot: false
#SpaceAfterTemplateKeyword: false
#SpaceAroundPointerQualifiers: Default
#SpaceBeforeAssignmentOperators: true
#SpaceBeforeCaseColon: false
#SpaceBeforeParens: ControlStatements
#SpaceBeforeRangeBasedForLoopColon: true
#SpaceBeforeSquareBrackets: false
#SpaceInEmptyBlock: true
#SpaceInEmptyParentheses: false
#SpacesBeforeTrailingComments: 3
#SpacesInContainerLiterals: false
#SpacesInSquareBrackets: false