Merge pull request #4390 from justinmk/clangformat

clang-format configuration
This commit is contained in:
Justin M. Keyes 2016-03-03 23:37:18 -05:00
commit fb4655beb1

View File

@ -1,4 +1,4 @@
BasedOnStyle: llvm
BasedOnStyle: Google
Language: Cpp
ColumnLimit: 80
IndentWidth: 2
@ -10,3 +10,9 @@ AlignEscapedNewlinesLeft: false
AllowShortFunctionsOnASingleLine: false
SpacesBeforeTrailingComments: 2
PenaltyReturnTypeOnItsOwnLine: 200
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackParameters: false
BreakBeforeBinaryOperators: true
ContinuationIndentWidth: 4