add .clang-format

This commit is contained in:
Adam Masciola 2025-09-07 12:34:24 -07:00
parent 8dda0bc002
commit 3e17a38197

18
.clang-format Normal file
View file

@ -0,0 +1,18 @@
BasedOnStyle: GNU
AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: None
BinPackParameters: false
SpaceAfterCStyleCast: true
PointerAlignment: Right
ColumnLimit: 0
AlignArrayOfStructures: Right
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AllowShortCaseLabelsOnASingleLine: true
AlignEscapedNewlines: true
AlignOperands: true
AlignTrailingComments: Always