From 487caa5868d816ae811c6a68f2bb9b1f5a798dbe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Jun 2022 08:19:54 -0400 Subject: Fix whitespace and add missing clang-format configuration --- .clang-format | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') 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 +... -- cgit v1.2.1