forked from eraftorg/eraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
33 lines (33 loc) · 940 Bytes
/
.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
---
Language: Cpp
BasedOnStyle: Google
IndentWidth: 2
IndentCaseLabels: true
ColumnLimit: 80
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: false
SortIncludes: true
AlignAfterOpenBracket: Align
BinPackArguments: false
BinPackParameters: false
AlignConsecutiveDeclarations: true
AlignEscapedNewlinesLeft: true
AlignOperands: true
AllowShortBlocksOnASingleLine : false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
PointerAlignment: Right
MaxEmptyLinesToKeep: 2
SpacesInSquareBrackets: false
SpacesInParentheses : false
SpaceBeforeAssignmentOperators: true
SpacesInContainerLiterals: true
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: true
BreakConstructorInitializersBeforeComma: true
SpaceAfterCStyleCast: false
TabWidth: 4
UseTab: Never