add clang-format'ing

This commit is contained in:
ayham 2023-02-22 17:13:57 +03:00
parent c69a2bec3f
commit 032bf3e951
No known key found for this signature in database
GPG key ID: 30F18E8CCB24AEBF
3 changed files with 2400 additions and 2320 deletions

11
.clang-format Normal file
View file

@ -0,0 +1,11 @@
BasedOnStyle: GNU
UseTab: AlignWithSpaces
IndentWidth: 4
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Linux
IndentCaseLabels: false
ColumnLimit: 100
AlignConsecutiveStyle: Consecutive
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2