-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-format
30 lines (30 loc) · 1 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
BasedOnStyle: LLVM
AlignAfterOpenBracket: AlwaysBreak
BinPackArguments: false
BinPackParameters: false
PointerAlignment: Left
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
# Rules for Unreal Engine Pregenerated Headers
IncludeCategories:
- Regex: '.*\.generated\.h'
Priority: 100
- Regex: '.*(PCH).*'
Priority: -1
# Don't break string literals - Unreal isn't good at handling them
BreakStringLiterals: false
# Don't break macros
WhitespaceSensitiveMacros:
- DECLARE_DELEGATE
- DECLARE_DELEGATE_OneParam
- DECLARE_DELEGATE_RetVal
- DECLARE_DELEGATE_RetVal_OneParam
- DECLARE_MULTICAST_DELEGATE
- DECLARE_MULTICAST_DELEGATE_OneParam
- DECLARE_MULTICAST_DELEGATE_TwoParams
- DECLARE_MULTICAST_DELEGATE_ThreeParams
- DECLARE_DYNAMIC_MULTICAST_DELEGATE
- DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam
- DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams
- DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams