Add .clang-format

This commit is contained in:
2021-07-04 13:00:40 +02:00
parent aae8036e2b
commit 9937a36526

13
.clang-format Normal file
View File

@@ -0,0 +1,13 @@
---
BasedOnStyle: LLVM
AccessModifierOffset: '-4'
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: 'false'
BreakBeforeBraces: Mozilla
ColumnLimit: '120'
IndentWidth: '4'
Language: Cpp
PointerAlignment: Right
...