-
Notifications
You must be signed in to change notification settings - Fork 15
/
.clang-format
34 lines (33 loc) · 1010 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
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: 'true'
AllowAllConstructorInitializersOnNextLine: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakConstructorInitializers: BeforeComma
BreakConstructorInitializersBeforeComma: 'true'
ConstructorInitializerIndentWidth: 2
FixNamespaceComments: 'true'
IndentCaseLabels: 'true'
IndentPPDirectives: AfterHash
PenaltyBreakAssignment: 1000
PenaltyBreakBeforeFirstCallParameter: 100
PointerAlignment: Left
StatementMacros:
- 'IDLE_ASSERT'
- 'IDLE_CHECK'
- 'IDLE_REFLECT'
IncludeCategories:
- Regex: '^<[a-z_]+>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '^<idle/.*\.hpp>'
Priority: 3
- Regex: '.*'
Priority: 4