This commit is contained in:
nub31
2025-08-22 21:28:06 +02:00
parent e07482adcc
commit f219bc7fa3
4 changed files with 65 additions and 0 deletions

18
.clang-format Normal file
View File

@@ -0,0 +1,18 @@
IndentWidth: 4
ColumnLimit: 120
# Pointer formatting
DerivePointerAlignment: false
PointerAlignment: Left
# Function formatting
AllowShortFunctionsOnASingleLine: None
# Control how short statements are placed
AllowShortBlocksOnASingleLine: Never
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
SeparateDefinitionBlocks: Always
BreakBeforeBraces: Allman