-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy path.clang-format
45 lines (30 loc) · 857 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
36
37
38
39
40
41
42
43
44
45
---
BasedOnStyle: Google
---
Language: Cpp
IndentWidth: 2
ContinuationIndentWidth: 4
DerivePointerAlignment: false
PointerAlignment: Right
BreakBeforeBraces: Linux
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakBeforeMultilineStrings: true
AlignAfterOpenBracket: AlwaysBreak
BinPackArguments: false
AllowAllArgumentsOnNextLine: false
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
BreakStringLiterals: true
SpaceAfterCStyleCast: true
SpacesInContainerLiterals: false
PenaltyReturnTypeOnItsOwnLine: 999
FixNamespaceComments: true
NamespaceIndentation: All
SortUsingDeclarations: true
CompactNamespaces: false
---