From d146405753ef27d16a201bd90ca1f93993cf61d0 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Wed, 30 Mar 2022 20:04:37 +0200 Subject: [PATCH] Add .clang-format for google style with minimal adaptations --- .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 0000000000..37f8707036 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +# Google C++ style as base +Language: Cpp +BasedOnStyle: Google + +# Indentation using tabs +UseTab: ForContinuationAndIndentation +TabWidth: 8 +IndentWidth: 8 +ContinuationIndentWidth: 8 +ConstructorInitializerIndentWidth: 8 +AccessModifierOffset: -8 + +ColumnLimit: 120 # Allow more collumns