forked from Madghostek/mupen64plus-core-rr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
executable file
·68 lines (54 loc) · 1.33 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
62
63
64
65
66
67
68
---
Language: Cpp
BasedOnStyle: Chromium
IndentWidth: 4
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AlignConsecutiveAssignments: Consecutive
AlignEscapedNewlines: Left
AlignOperands: DontAlign
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: Never
AfterCaseLabel: false
AfterClass: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakStringLiterals: false
BreakConstructorInitializers: AfterColon
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 4
Cpp11BracedListStyle: true
IncludeCategories:
# POSIX
- Regex: '^<[^.]+\.h>'
Priority: 1
- Regex: '^<([^.]+)>$'
Priority: 2
- Regex: '^<([^.].h(pp|xx|h))>$'
Priority: 3
IndentPPDirectives: BeforeHash
NamespaceIndentation: All
PointerAlignment: Left
SpaceAfterCStyleCast: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeCpp11BracedList: true
SpaceAroundPointerQualifiers: Before
Standard: Cpp11
UseTab: Never