From 82a6b179df401c440822e2abb6d421ff0e4a0e4b Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 26 Jul 2019 13:46:30 +0200 Subject: [PATCH] Added clang-format --- .clang-format | 13 +++++++++++++ .gitignore | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..63ebf38 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +--- +BasedOnStyle: LLVM +ColumnLimit: 120 +IndentWidth: 4 +TabWidth: 4 +UseTab: ForIndentation +AlignEscapedNewlines: DontAlign +AllowShortFunctionsOnASingleLine: Empty +AlwaysBreakTemplateDeclarations: true +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true +... diff --git a/.gitignore b/.gitignore index 38e936d..edee58b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ Release Debug *.componentinfo.xml -avrdude.bat