-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.clang-format
More file actions
37 lines (36 loc) · 909 Bytes
/
.clang-format
File metadata and controls
37 lines (36 loc) · 909 Bytes
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
# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
---
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Left
AttributeMacros:
- SRATOM_API
- SRATOM_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:
- 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:
- _Pragma
...