forked from TheElixZammuto/moonlight-xbox
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-format
More file actions
31 lines (28 loc) · 741 Bytes
/
.clang-format
File metadata and controls
31 lines (28 loc) · 741 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
BasedOnStyle: LLVM
UseTab: ForIndentation
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Attach
ColumnLimit: 0
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
IndentCaseLabels: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignTrailingComments: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakConstructorInitializers: BeforeColon
PackConstructorInitializers: Never
# Don't move pch.h below other headers
IncludeBlocks: Preserve
IncludeCategories:
# PCH must be first
- Regex: '^"pch\.h"$'
Priority: 1
# system headers (<...>)
- Regex: '^<.*>'
Priority: 2
# everything else
- Regex: '.*'
Priority: 3