From 01ac90dbfc456c7bf9c01cabf8f530ced09e0161 Mon Sep 17 00:00:00 2001 From: zv0n Date: Sun, 22 Nov 2020 21:57:10 +0100 Subject: [PATCH] Add clang-format --- .clang-format | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..8dad6e1 --- /dev/null +++ b/.clang-format @@ -0,0 +1,24 @@ +--- +AccessModifierOffset: -4 +AllowShortFunctionsOnASingleLine: Empty +BasedOnStyle: LLVM +ConstructorInitializerAllOnOneLineOrOnePerLine: 'false' +ConstructorInitializerIndentWidth: 8 +Cpp11BracedListStyle: 'false' +IndentWidth: '4' +Language: Cpp +PointerAlignment: Right +SortIncludes: 'false' +SpaceBeforeAssignmentOperators: 'true' +SpaceBeforeParens: ControlStatements +SpaceInEmptyParentheses: 'false' +SpacesInAngles: 'true' +SpacesInCStyleCastParentheses: 'true' +SpacesInContainerLiterals: 'true' +SpacesInParentheses: 'true' +SpacesInSquareBrackets: 'false' +Standard: Cpp11 +TabWidth: '4' +UseTab: Never + +...