From 848456b42a4b1bfd1475c10322f5afc3d8e97f7b Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Sat, 23 Jan 2016 09:00:47 -0800 Subject: [PATCH] clang-format config with my preferred style --- .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 00000000..7f12fe48 --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +--- +Language: Cpp +BasedOnStyle: Google +AllowShortFunctionsOnASingleLine: None +AlwaysBreakAfterDefinitionReturnType: TopLevel +BreakBeforeBinaryOperators: NonAssignment +ForEachMacros: [ TQ_FOR ] +IndentCaseLabels: false +IndentWidth: 4 +MaxEmptyLinesToKeep: 2 +SpaceBeforeParens: false +TabWidth: 4 +... +