Add clang-format config
This commit is contained in:
parent
3f4f082220
commit
7cd1839a38
1 changed files with 13 additions and 0 deletions
13
.clang-format
Normal file
13
.clang-format
Normal file
|
@ -0,0 +1,13 @@
|
|||
BasedOnStyle: Google
|
||||
IndentWidth: 2
|
||||
ColumnLimit: 140
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
BreakConstructorInitializers: AfterColon
|
||||
AlwaysBreakAfterReturnType: None
|
||||
SpaceBeforeParens: Never
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortLambdasOnASingleLine: Empty
|
||||
BinPackArguments: false
|
||||
BinPackParameters: false
|
||||
AlwaysBreakTemplateDeclarations: true
|
Loading…
Reference in a new issue