aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 10 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index a2d270e..6332390 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,7 +1,10 @@
---
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
-AlignEscapedNewlinesLeft: true
+AlignEscapedNewlines: Left
+AttributeMacros:
+ - ZIX_MALLOC_FUNC
+ - ZIX_PURE_FUNC
BasedOnStyle: Mozilla
BraceWrapping:
AfterNamespace: false
@@ -17,7 +20,12 @@ Cpp11BracedListStyle: true
FixNamespaceComments: true
ForEachMacros:
- LILV_FOREACH
- - 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