-
Notifications
You must be signed in to change notification settings - Fork 18
/
_clang-format
93 lines (93 loc) · 2.94 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
AccessModifierOffset: '-4'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'false'
AlignConsecutiveBitFields: 'true'
AlignConsecutiveMacros: 'true'
AlignEscapedNewlines: 'Right'
AlignOperands: 'false'
AlignTrailingComments: 'true'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AllowShortLambdasOnASingleLine: 'All'
AllowShortEnumsOnASingleLine: 'true'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'true'
BreakStringLiterals: 'true'
ColumnLimit: '120'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
AllowAllConstructorInitializersOnNextLine: 'true'
Cpp11BracedListStyle: 'true'
DerivePointerAlignment: 'false'
ExperimentalAutoDetectBinPacking: 'false'
IndentCaseLabels: 'false'
IndentWidth: '4'
ContinuationIndentWidth: 4
IndentWrappedFunctionNames: 'true'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: 'All'
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'true'
SpaceAfterCStyleCast: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
SpaceInEmptyBlock: 'false'
SpaceAfterTemplateKeyword: 'true'
SpaceAfterLogicalNot: 'false'
SpaceBeforeCpp11BracedList: 'false'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeRangeBasedForLoopColon: 'true'
Standard: 'c++17'
TabWidth: '4'
UseTab: Always
PenaltyReturnTypeOnItsOwnLine: '1000'
PenaltyBreakBeforeFirstCallParameter: '100'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowAllArgumentsOnNextLine: 'false'
BreakConstructorInitializers: 'AfterColon'
BreakInheritanceList: 'AfterColon'
BitFieldColonSpacing: 'After'
FixNamespaceComments: 'true'
IndentPPDirectives: 'BeforeHash'
StatementMacros:
- UFUNCTION
- UPROPERTY
- GENERATED_BODY
- GENERATED_UCLASS_BODY
MacroBlockBegin: "^SLATE_BEGIN_ARGS(.*)|BEGIN_DEFINE_SPEC|OUU_DECLARE_GAMEPLAY_TAGS_START|OUU_GTAG_GROUP_START|OUU_DECLARE_GAMEPLAY_TAGS_EXTENSION_START$"
MacroBlockEnd: "^SLATE_END_ARGS(.*)|END_DEFINE_SPEC|OUU_GTAG_GROUP_END|OUU_DECLARE_GAMEPLAY_TAGS_END$"
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^".+\.generated\.h"$'
Priority: 5
- Regex: '<.+>$'
Priority: 4
- Regex: '^"CoreMinimal\.h"$'
Priority: 2
- Regex: '^".+"$'
Priority: 3
---
Language: Cpp
---
Language: CSharp
...