Merge "Add .clang-format style file."

This commit is contained in:
Tao Bao
2016-11-14 18:20:14 +00:00
committed by Gerrit Code Review

14
.clang-format Normal file
View File

@@ -0,0 +1,14 @@
BasedOnStyle: Google
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 2
PointerAlignment: Left
TabWidth: 2
UseTab: Never
PenaltyExcessCharacter: 32
Cpp11BracedListStyle: false