-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy path.clang-format
More file actions
38 lines (38 loc) · 934 Bytes
/
.clang-format
File metadata and controls
38 lines (38 loc) · 934 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
38
---
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 4
ContinuationIndentWidth: 8
TabWidth: 8
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
ColumnLimit: 0
ReflowComments: false
BreakStringLiterals: false
SortIncludes: false
SortUsingDeclarations: false
IncludeBlocks: Preserve
AlignAfterOpenBracket: Align
SpacesBeforeTrailingComments: 4
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
IndentCaseLabels: false