From 700dcc9260a57b7ccdd9a93fcecbca73640104ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 26 Mar 2014 11:59:15 +0100 Subject: add clang-format file --- .clang-format | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..3557822cbd --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +Standard: Cpp11 +IndentWidth: 4 +AccessModifierOffset: -4 +UseTab: Never +BinPackParameters: true +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +ConstructorInitializerAllOnOneLineOrOnePerLine: true +AlwaysBreakTemplateDeclarations: true +NamespaceIndentation: None +PointerBindsToType: false +SpacesInParentheses: false +BreakBeforeBraces: Attach +ColumnLimit: 80 +Cpp11BracedListStyle: true +SpaceBeforeParens: ControlStatements +SpacesBeforeTrailingComments: 1 +SpacesInContainerLiterals: true -- cgit v1.2.1