From 8b1f2be27be18459ba2c8f4d675b5bf36f7d2307 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 1 Sep 2025 17:41:26 +1000 Subject: internal: format cpp --- .clang-format | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..46e3014 --- /dev/null +++ b/.clang-format @@ -0,0 +1,22 @@ +--- +BasedOnStyle: LLVM +IndentWidth: 4 +ColumnLimit: 120 +--- +Language: Cpp +DerivePointerAlignment: false +PointerAlignment: Left +AccessModifierOffset: -4 +AlignAfterOpenBracket: DontAlign +AllowShortEnumsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortLambdasOnASingleLine: None +BinPackArguments: true +BreakBeforeBraces: Attach +BreakConstructorInitializers: BeforeComma +Cpp11BracedListStyle: false +EmptyLineAfterAccessModifier: Never +EmptyLineBeforeAccessModifier: Always +IndentAccessModifiers: false +IndentCaseLabels: false +... -- cgit v1.2.3-freya