Add support for clang-tidy and clang-format

This commit is contained in:
Vyn 2024-04-13 11:47:52 +02:00
parent 2bb7fcfcc6
commit 081e107b9b
4 changed files with 13 additions and 0 deletions

9
.clang-format Normal file
View file

@ -0,0 +1,9 @@
UseTab: Always
IndentWidth: 4
TabWidth: 4
ColumnLimit: 100
BreakBeforeBraces: Linux
SeparateDefinitionBlocks: Always
AllowShortBlocksOnASingleLine: Never
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None