diff options
author | David Robillard <d@drobilla.net> | 2022-06-16 08:19:54 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-17 17:08:38 -0400 |
commit | 487caa5868d816ae811c6a68f2bb9b1f5a798dbe (patch) | |
tree | 89513dd46b9f58fb52728a0fcf379f020604fdc1 /.clang-format | |
parent | 556c932d879cc903be96889bd62bc51de5a92b71 (diff) | |
download | lv2-487caa5868d816ae811c6a68f2bb9b1f5a798dbe.tar.xz |
Fix whitespace and add missing clang-format configuration
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..2ded658 --- /dev/null +++ b/.clang-format @@ -0,0 +1,34 @@ +--- +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 +IndentCaseLabels: false +IndentPPDirectives: AfterHash +KeepEmptyLinesAtTheStartOfBlocks: false +SpacesInContainerLiterals: false +StatementMacros: + - LV2_DEPRECATED + - LV2_DISABLE_DEPRECATION_WARNINGS + - LV2_RESTORE_WARNINGS + - LV2_SYMBOL_EXPORT + - _Pragma +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 +... |