commit | 848456b42a4b1bfd1475c10322f5afc3d8e97f7b | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Sat Jan 23 09:00:47 2016 -0800 |
committer | Lev Walkin <vlm@lionet.info> | Sat Jan 23 09:00:58 2016 -0800 |
tree | 51cbe2c8d2325b49851c4cf79140d3b7f1c031ec | |
parent | 41a1da63e5f812899be173dfb1b92d0c1eb981f5 [diff] |
clang-format config with my preferred style
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..7f12fe4 --- /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 +... +