From: a1batross Date: Fri, 4 Nov 2016 14:12:56 +0000 (+0300) Subject: Add clang format X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=abdb29a685652588a08667d7830879d407a18d5c;p=nanogl.git Add 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