From 725f384d9138095058ba7524f883a9ee7c219ecc Mon Sep 17 00:00:00 2001 From: rjindael Date: Mon, 20 May 2024 20:23:08 -0700 Subject: [PATCH] chore: formatting --- .clang_format | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .clang_format diff --git a/.clang_format b/.clang_format new file mode 100644 index 0000000..56f9632 --- /dev/null +++ b/.clang_format @@ -0,0 +1,23 @@ +BasedOnStyle: LLVM + +AccessModifierOffset: -4 +AllowShortBlocksOnASingleLine: Never +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortLambdasOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +BreakBeforeBraces: Allman +BreakConstructorInitializers: BeforeComma +BreakInheritanceList: BeforeComma +ColumnLimit: 150 +IndentCaseLabels: false +SortIncludes: false +IndentWidth: 4 +AlignAfterOpenBracket: DontAlign +UseTab: Never +PointerAlignment: Left +SpaceAfterTemplateKeyword: false +AlignEscapedNewlines: DontAlign +AlwaysBreakTemplateDeclarations: Yes +MaxEmptyLinesToKeep: 10 \ No newline at end of file