-
Notifications
You must be signed in to change notification settings - Fork 20
/
.clang-format
35 lines (31 loc) · 917 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
34
35
Language: Cpp
Standard: Cpp11
BasedOnStyle: Google
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlignOperands: true
AlignConsecutiveAssignments: false
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
IndentCaseLabels: true
IndentWidth: 2
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PointerAlignment: Left
SpacesBeforeTrailingComments: 2
TabWidth: 2
UseTab: Never
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 100
PenaltyBreakBeforeFirstCallParameter: 10000