Add clang code formatter settings

This commit is contained in:
ShaXbee
2015-04-03 13:34:38 +00:00
parent 45f4c0d98a
commit a5dcdc936d

12
.clang-format Normal file
View File

@@ -0,0 +1,12 @@
---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
AlignEscapedNewlinesLeft: true
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
ColumnLimit: 100
---