-
Notifications
You must be signed in to change notification settings - Fork 18
/
.clang-format
47 lines (37 loc) · 924 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
46
47
---
Standard: Cpp11
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -3
ColumnLimit: 0
UseTab: Never
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine : true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
IndentCaseLabels: true
PointerAlignment: Right
AlignTrailingComments: true
AlignConsecutiveAssignments: true
AlignOperands : AlignAfterOperator
NamespaceIndentation: All
FixNamespaceComments: true
CompactNamespaces: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterStruct: true
AfterClass: true
AfterControlStatement: true
AfterNamespace: true
AfterFunction: true
AfterUnion: true
AfterExternBlock: false
AfterEnum: false
BeforeElse: false
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
AlwaysBreakTemplateDeclarations: No
IncludeBlocks: Merge