Merge pull request #19 from algernon/f/clang-format

Add a clang-format config file
This commit is contained in:
László Monda
2016-12-13 14:57:05 +01:00
committed by GitHub

25
.clang-format Normal file
View File

@@ -0,0 +1,25 @@
---
Language: Cpp
BasedOnStyle: WebKit
AllowShortFunctionsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBraces: Custom
Cpp11BracedListStyle: true
PointerAlignment: Right
ReflowComments: false
SortIncludes: false
TabWidth: 4
...