This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
61 lines (61 loc) · 1.62 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
58
59
60
61
Language: Cpp
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignTrailingComments: true
AlignEscapedNewlines: Right
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortLambdasOnASingleLine: Empty
AccessModifierOffset: -4
KeepEmptyLinesAtTheStartOfBlocks: false
IndentWidth: 4
IndentWrappedFunctionNames: false
IndentCaseLabels: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '.*\.generated\.h'
Priority: 100
- Regex: '".*(/).*"'
Priority: 98
- Regex: '".*"'
Priority: 99
- Regex: '<.*>'
Priority: 97
NamespaceIndentation: All
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
AfterControlStatement: Always
BeforeCatch: true
BeforeLambdaBody: true
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeComma
BreakStringLiterals: false
DerivePointerAlignment: false
DisableFormat: false
MaxEmptyLinesToKeep: 1
PointerAlignment: Left
ReflowComments: false
SortIncludes: true
SortUsingDeclarations: true
SpacesInAngles: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeParens: Never
Standard: c++14
TabWidth: 4
UseTab: Always
ColumnLimit: 0