-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.clang-format
56 lines (55 loc) · 1.21 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
# Copyright 2020-2024 David Robillard <[email protected]>
# SPDX-License-Identifier: 0BSD OR ISC
---
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Left
AttributeMacros:
- LILV_API
- LILV_DEPRECATED
- LILV_LOG_FUNC
BasedOnStyle: Mozilla
BraceWrapping:
AfterClass: true
AfterEnum: false
AfterExternBlock: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
SplitEmptyFunction: false
SplitEmptyRecord: false
BreakBeforeBraces: Custom
Cpp11BracedListStyle: true
FixNamespaceComments: true
ForEachMacros:
- FOREACH_MATCH
- LILV_FOREACH
- LV2_ATOM_OBJECT_BODY_FOREACH
- LV2_ATOM_OBJECT_FOREACH
- LV2_ATOM_SEQUENCE_BODY_FOREACH
- LV2_ATOM_SEQUENCE_FOREACH
- LV2_ATOM_TUPLE_BODY_FOREACH
- LV2_ATOM_TUPLE_FOREACH
IndentCaseLabels: false
IndentPPDirectives: AfterHash
KeepEmptyLinesAtTheStartOfBlocks: false
SpacesInContainerLiterals: false
StatementMacros:
- LILV_ERROR
- LILV_ERRORF
- LILV_NOTE
- LILV_NOTEF
- LILV_PORT_WRAP0
- LILV_PORT_WRAP1
- LILV_WARN
- LILV_WARNF
- LILV_WRAP0
- LILV_WRAP0_VOID
- LILV_WRAP1
- LILV_WRAP1_VOID
- LILV_WRAP2
- LILV_WRAP2_VOID
- LILV_WRAP3
- LILV_WRAP_CONVERSION
- _Pragma
...