aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-27 13:20:05 -0400
committerDavid Robillard <d@drobilla.net>2022-05-27 13:20:05 -0400
commitea783414b68512c15b9523cde2bfb4f93e433d56 (patch)
tree3a00654256aed0c1bba9159f2e4ee79d59c90513 /.clang-format
parent31e271a9f3207efe23a7efb937f4f3275bcb8ad3 (diff)
downloadjalv-ea783414b68512c15b9523cde2bfb4f93e433d56.tar.gz
jalv-ea783414b68512c15b9523cde2bfb4f93e433d56.tar.bz2
jalv-ea783414b68512c15b9523cde2bfb4f93e433d56.zip
Format all code with clang-format
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format26
1 files changed, 26 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..f935f70
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,26 @@
+---
+AlignConsecutiveAssignments: true
+AlignConsecutiveDeclarations: true
+AlignEscapedNewlinesLeft: true
+BasedOnStyle: Mozilla
+BraceWrapping:
+ AfterNamespace: false
+ AfterClass: true
+ AfterEnum: false
+ AfterExternBlock: false
+ AfterFunction: true
+ AfterStruct: false
+ SplitEmptyFunction: false
+ SplitEmptyRecord: false
+BreakBeforeBraces: Custom
+Cpp11BracedListStyle: true
+ForEachMacros:
+ - LILV_FOREACH
+ - foreach
+IndentCaseLabels: false
+IndentPPDirectives: AfterHash
+KeepEmptyLinesAtTheStartOfBlocks: false
+SpacesInContainerLiterals: false
+StatementMacros:
+ - _Pragma
+...