Add clang-format settings

tight-png
Andri Yngvason 2019-10-20 21:06:40 +00:00
parent de1f63573b
commit 96aa73b9d1
1 changed files with 24 additions and 0 deletions

24
_clang-format 100644
View File

@ -0,0 +1,24 @@
---
BasedOnStyle: LLVM
SortIncludes: false
IndentWidth: 8
ContinuationIndentWidth: 8
UseTab: ForIndentation
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
#IndentGotoLabels: false
PointerAlignment: Left
ForEachMacros:
- LIST_FOREACH
PenaltyBreakAssignment: 2
PenaltyExcessCharacter: 10
...