From abdb29a685652588a08667d7830879d407a18d5c Mon Sep 17 00:00:00 2001 From: a1batross Date: Fri, 4 Nov 2016 17:12:56 +0300 Subject: [PATCH] Add clang format --- .clang-format | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..09b29d4 --- /dev/null +++ b/.clang-format @@ -0,0 +1,33 @@ +#BasedOnStyle: WebKit +IndentWidth: 4 +TabWidth: 4 +UseTab: ForIndentation + +BreakBeforeBraces: Allman + +AlignAfterOpenBracket: true +AlignConsecutiveAssignments: true +AlignOperands: true + +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false + +NamespaceIndentation: Inner + +SpaceAfterCStyleCast: false +SpaceBeforeParens: true +SpaceInEmptyParentheses: true +SpacesInAngles: true +SpacesInParentheses: true +SpacesBeforeTrailingComments: 1 + +IndentCaseLabels: false +IndentWrappedFunctionNames: true + +PointerAlignment: Right + +ColumnLimit: 0 +BinPackArguments: false \ No newline at end of file -- 2.29.2