Add .clang-tidy and .clang-format configurations

This commit is contained in:
2023-05-16 09:49:47 +02:00
parent a9759f51fa
commit 093ee73d54
3 changed files with 19 additions and 13 deletions

View File

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