From 6377b0496e669fe746a7a25e1fe7fe8763045217 Mon Sep 17 00:00:00 2001 From: Markus Zehnder Date: Thu, 22 Oct 2020 13:47:13 +0200 Subject: [PATCH] refactor: Clang format for short functions --- .clang-format | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..ee13ebf --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +# YIO project style configuration +# +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html + +BasedOnStyle: Google + +IndentWidth: 4 +ColumnLimit: 120 + +AccessModifierOffset: -3 +AlignConsecutiveDeclarations: true + +AllowShortFunctionsOnASingleLine: Inline +