From 0e82f8cac134069fc5e8f121e0f3e964aedc5aab Mon Sep 17 00:00:00 2001 From: Cory Date: Sat, 7 Oct 2023 22:00:05 +0200 Subject: [PATCH] Add custom formatting options for clang-format --- .clang-format | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..2298bfb --- /dev/null +++ b/.clang-format @@ -0,0 +1,6 @@ +IndentWidth: 4 +AllowShortFunctionsOnASingleLine: false +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true + BeforeElse: true