From 6a67bc42f4911eba86d9b9e90ad21d458b97a65c Mon Sep 17 00:00:00 2001 From: johnny9 <985648+johnny9@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:38:43 -0400 Subject: [PATCH] Add clang-format configuration --- .clang-format | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..8190c62 --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +BasedOnStyle: LLVM +UseTab: false +IndentWidth: 4 +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +ColumnLimit: 132 +DerivePointerAlignment: false +PointerAlignment: Middle +AllowShortFunctionsOnASingleLine: None +BreakBeforeBraces: Custom +BraceWrapping: + AfterEnum: true + AfterStruct: true + AfterFunction: true + AfterNamespace: true + AfterUnion: true + AfterExternBlock: true + SplitEmptyFunction: false +SpaceAfterCStyleCast: true