-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
37 lines (37 loc) · 943 Bytes
/
.clang-format
File metadata and controls
37 lines (37 loc) · 943 Bytes
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
---
BasedOnStyle: Mozilla
Language: Cpp
TabWidth: '4'
ColumnLimit: '80'
IndentWidth: '4'
SortIncludes: 'true'
DerivePointerAlignment: 'true'
PointerAlignment: Left
AllowShortBlocksOnASingleLine: 'false'
AllowShortIfStatementsOnASingleLine: Always
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BinPackArguments: 'false'
BinPackParameters: 'false'
AlignEscapedNewlines: Left
# IndentCaseBlocks: 'false'
IndentCaseLabels: 'false'
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: 'true'
AfterCaseLabel: 'true'
AfterControlStatement: Always
AfterEnum: 'true'
AfterFunction: 'true'
AfterNamespace: 'true'
AfterStruct: 'true'
AfterUnion: 'true'
AfterExternBlock: 'true'
BeforeElse: 'true'
BeforeWhile: 'false'
IndentBraces: 'false'
SplitEmptyFunction: 'false'
SplitEmptyRecord: 'false'
SplitEmptyNamespace: 'false'
...