aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format14
1 files changed, 11 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format
index 4692c52..d3ca92c 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
@@ -14,14 +17,19 @@ BraceWrapping:
SplitEmptyRecord: false
BreakBeforeBraces: Custom
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
SpacesInContainerLiterals: false
StatementMacros:
- Q_OBJECT
- - _Pragma
...