From a130bdd3f12c048980d591694311622be2a0e157 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Tue, 24 Jan 2017 11:40:45 +0100 Subject: [PATCH] +.clang-format --- pub/.clang-format | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pub/.clang-format diff --git a/pub/.clang-format b/pub/.clang-format new file mode 100644 index 00000000..2eefb314 --- /dev/null +++ b/pub/.clang-format @@ -0,0 +1,34 @@ +Language: Cpp +Standard: Cpp11 +BasedOnStyle: WebKit +IndentWidth: 4 +UseTab: Never + +AccessModifierOffset: -4 +AlignAfterOpenBracket: AlwaysBreak +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignOperands: false +AllowShortFunctionsOnASingleLine: All +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterReturnType: None +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: NonAssignment +BreakBeforeBraces: Linux +ColumnLimit: 100 +CommentPragmas: \/\/! +ConstructorInitializerAllOnOneLineOrOnePerLine: true +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: false +DerivePointerAlignment: false +IndentCaseLabels: false +IndentWrappedFunctionNames: false +MaxEmptyLinesToKeep: 2 +PointerAlignment: Left +SpaceBeforeParens: ControlStatements +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false -- GitLab