-
Notifications
You must be signed in to change notification settings - Fork 16
/
.clang-format
42 lines (41 loc) · 949 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
35
36
37
38
39
40
41
42
# Copyright 2020-2024 David Robillard <[email protected]>
# SPDX-License-Identifier: 0BSD OR ISC
---
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Left
AttributeMacros:
- SERD_ALLOCATED
- SERD_API
- SERD_CONST_API
- SERD_CONST_FUNC
- SERD_FALLTHROUGH
- SERD_MALLOC_FUNC
- SERD_NODISCARD
- SERD_NONNULL
- SERD_NULLABLE
- SERD_PURE_API
- SERD_PURE_FUNC
BasedOnStyle: Mozilla
BraceWrapping:
AfterClass: true
AfterEnum: false
AfterExternBlock: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
SplitEmptyFunction: false
SplitEmptyRecord: false
BreakBeforeBraces: Custom
Cpp11BracedListStyle: true
IndentCaseLabels: false
IndentPPDirectives: AfterHash
KeepEmptyLinesAtTheStartOfBlocks: false
SpacesInContainerLiterals: false
StatementMacros:
- SERD_DEPRECATED_BY
- SERD_DISABLE_NULL_WARNINGS
- SERD_LOG_FUNC
- SERD_RESTORE_WARNINGS
- _Pragma
...