From 4d62ea98cfbf382df8116146a72810b83bf6d2a9 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 13 Jun 2020 01:51:16 -0400 Subject: [PATCH] add clang-format configuration file for the unittest tree --- unittest/.clang-format | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 unittest/.clang-format diff --git a/unittest/.clang-format b/unittest/.clang-format new file mode 100644 index 0000000000..91df2e925e --- /dev/null +++ b/unittest/.clang-format @@ -0,0 +1,22 @@ +--- +Language: Cpp +BasedOnStyle: LLVM +AccessModifierOffset: -4 +AlignEscapedNewlines: Left +AllowShortFunctionsOnASingleLine: Inline +AllowShortLambdasOnASingleLine: None +AllowShortIfStatementsOnASingleLine: WithoutElse +BraceWrapping: + AfterFunction: true +BreakBeforeBraces: Custom +BreakInheritanceList: AfterColon +BreakConstructorInitializers: AfterColon +ColumnLimit: 100 +IndentCaseLabels: true +IndentWidth: 4 +ObjCBlockIndentWidth: 4 +PenaltyBreakAssignment: 4 +Standard: Cpp11 +TabWidth: 4 +UseTab: Never +...