Add format options file.

This commit is contained in:
Alejandro Cabeza Romero 2026-02-04 15:50:54 +01:00
parent 4453fe1a61
commit 6bd71656eb
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD

24
.clang-format Normal file
View File

@ -0,0 +1,24 @@
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
IndentAccessModifiers: false
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
BinPackParameters: false
BinPackArguments: false
AllowAllParametersOfDeclarationOnNextLine: false
PenaltyBreakBeforeFirstCallParameter: 1
PointerAlignment: Left
ReferenceAlignment: Left
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BreakAfterReturnType: None
PenaltyReturnTypeOnItsOwnLine: 1000