clang-format config with my preferred style

This commit is contained in:
Lev Walkin 2016-01-23 09:00:47 -08:00
parent 41a1da63e5
commit 848456b42a
1 changed files with 14 additions and 0 deletions

14
.clang-format Normal file
View File

@ -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
...