From 3e17a38197c02a902fa800e4739dec1cf1c500ff Mon Sep 17 00:00:00 2001 From: Adam Masciola Date: Sun, 7 Sep 2025 12:34:24 -0700 Subject: [PATCH] add .clang-format --- .clang-format | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..49fafef --- /dev/null +++ b/.clang-format @@ -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