style changes, add .clang-format config file

This commit is contained in:
Filip Ayazi 2021-07-14 02:15:50 +01:00
parent 1c8e725282
commit 2fb61c4be3
4 changed files with 56 additions and 42 deletions

12
.clang-format Normal file
View file

@ -0,0 +1,12 @@
BasedOnStyle: LLVM
AccessModifierOffset: -4
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Allman
ColumnLimit: 0
FixNamespaceComments: false
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 4
NamespaceIndentation: All
TabWidth: 4
UseTab: Never