Add .clang-format and .gitignore
This commit is contained in:
19
.clang-format
Normal file
19
.clang-format
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
PointerAlignment: Right
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
|
||||
UseTab: Always
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
ColumnLimit: 80
|
||||
|
||||
AlignAfterOpenBracket: false
|
||||
AlignOperands: AlignAfterOperator
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
|
||||
BreakBeforeBraces: Allman
|
||||
BreakStringLiterals: true
|
||||
IndentCaseLabels: false
|
||||
IndentGotoLabels: false
|
||||
InsertBraces: false
|
||||
...
|
||||
Reference in New Issue
Block a user