Merge pull request #68 from socantre/master

Add .clang-format file
This commit is contained in:
Neil MacIntosh 2015-10-01 13:37:36 -07:00
commit 87f7f30a90

21
.clang-format Normal file
View File

@ -0,0 +1,21 @@
ColumnLimit: 0
UseTab: Never
IndentWidth: 4
AccessModifierOffset: -4
NamespaceIndentation: Inner
BreakBeforeBraces: Allman
AlwaysBreakTemplateDeclarations: false
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
PointerAlignment: Left
AlignConsecutiveAssignments: false
AlignTrailingComments: false
SpaceAfterCStyleCast: true