Adding Clang Format file

This commit is contained in:
Frederic Jacobs 2014-12-18 19:33:24 +01:00
parent 3dc21ba654
commit eb8c3e57ed
1 changed files with 15 additions and 0 deletions

15
.clang-format Normal file
View File

@ -0,0 +1,15 @@
---
BasedOnStyle: Chromium
AlignTrailingComments: true
BreakBeforeBraces: Linux
ColumnLimit: 120
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PointerBindsToType: false
SpacesBeforeTrailingComments: 1
TabWidth: 8
UseTab: Never
...