Check-in .clang-format

This commit is contained in:
Alexander Karatarakis 2017-04-27 18:55:36 -07:00
parent 4ad755bb69
commit a9b72fda67

31
toolsrc/.clang-format Normal file
View File

@ -0,0 +1,31 @@
---
BasedOnStyle: WebKit
Language: Cpp
UseTab: Never
IndentWidth: 4
ColumnLimit: 120
PointerAlignment: Left
BreakBeforeBraces: Allman
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AlignAfterOpenBracket: true
AlignOperands: true
AlignTrailingComments: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: false
IndentCaseLabels: true
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: All
PenaltyReturnTypeOnItsOwnLine: 100
SpaceAfterTemplateKeyword: false