From 8ae6bb300ea93380c71112d16c3a823dd5501561 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Wed, 19 Aug 2015 16:18:15 +0200 Subject: [PATCH] Add clang-format. --- .clang-format | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..e5323d2ecc8 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +--- +Language: Cpp +BasedOnStyle: Google + +AccessModifierOffset: -4 +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +BreakBeforeBraces: Allman +IndentWidth: 4 +TabWidth: 4 +UseTab: ForIndentation +ExperimentalAutoDetectBinPacking: true +Standard: C++11 -- GitLab