Merge pull request #128 from dekimir/clang-format

Infrastructure: Add .clang-format.
This commit is contained in:
John Kessenich 2016-06-05 21:46:33 -06:00
commit 71d55c090a

12
.clang-format Normal file
View File

@ -0,0 +1,12 @@
Language: Cpp
IndentWidth: 4
BreakBeforeBraces: Custom
BraceWrapping: { AfterFunction: true, AfterControlStatement: true }
IndentCaseLabels: false
ReflowComments: false
ColumnLimit: 120
AccessModifierOffset: -4
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false