-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-format
57 lines (57 loc) · 1.4 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
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
Standard: c++17
DerivePointerAlignment: false
PointerAlignment: Right
ColumnLimit: 100
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: InlineOnly
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortEnumsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterClass: true
AfterStruct: false
AfterEnum: false
BeforeElse: true
BreakStringLiterals: true
FixNamespaceComments: true
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
SortIncludes: false
SpaceBeforeParens: Never
SpacesInConditionalStatement: true
SpacesInContainerLiterals: false
---
Language: ObjC
Standard: Cpp11
DerivePointerAlignment: false
PointerAlignment: Right
ColumnLimit: 100
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: InlineOnly
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortEnumsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterClass: true
AfterStruct: false
AfterEnum: false
BeforeElse: true
BreakStringLiterals: true
FixNamespaceComments: true
IndentCaseLabels: true
SortIncludes: false
SpaceBeforeParens: Never
SpacesInConditionalStatement: true
SpacesInContainerLiterals: false