Merge pull request #128 from dekimir/clang-format
Infrastructure: Add .clang-format.
This commit is contained in:
commit
71d55c090a
12
.clang-format
Normal file
12
.clang-format
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user