clang-format (not quite right)

This commit is contained in:
James Cherry 2019-12-29 09:55:07 -08:00
parent b18ae6f74f
commit b67761390a
1 changed files with 16 additions and 0 deletions

16
.clang-format Normal file
View File

@ -0,0 +1,16 @@
Language: Cpp
BasedOnStyle: Google
AlignOperands: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakAfterReturnType: TopLevel
# fails
BinPackParameters: false
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
BreakBeforeBraces: Custom
# fails
BreakConstructorInitializers: AfterColon