-
Notifications
You must be signed in to change notification settings - Fork 59
/
.clang-format
42 lines (42 loc) · 1011 Bytes
/
.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
---
#
# Test configuration changes here:
# https://zed0.co.uk/clang-format-configurator/
#
AccessModifierOffset: -4
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Allman
BreakConstructorInitializers: BeforeComma
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"CoreMinimal\.h"'
Priority: -1
- Regex: '.*\.generated\.h'
Priority: 100
- Regex: '".*"'
Priority: 1
- Regex: '^<.*\.(h)>'
Priority: 3
- Regex: '^<.*>'
Priority: 4
IndentWidth: 4
Language: Cpp
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceBeforeRangeBasedForLoopColon: true
Standard: Cpp11
TabWidth: 4
UseTab: Always
...