Added .clang-format for a more consistent code style

This commit is contained in:
TheDarkBug 2021-11-28 15:57:20 +01:00
parent 5be84cd1b6
commit 9511512727
2 changed files with 444 additions and 439 deletions

16
.clang-format Normal file
View file

@ -0,0 +1,16 @@
---
TabWidth: 4
IndentWidth: 4
UseTab: Always
IndentPPDirectives: BeforeHash
SortIncludes: true
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: true
AlignEscapedNewlinesLeft: true
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
ColumnLimit: 0
MaxEmptyLinesToKeep: 1
...

File diff suppressed because it is too large Load diff