From fa77abd446801b4119f8ff7a909990073014514d Mon Sep 17 00:00:00 2001 From: "jazz (gitea)" Date: Sun, 8 Mar 2026 19:39:48 -0500 Subject: [PATCH] copy .clang-format to src/ --- src/.clang-format | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/.clang-format diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 0000000..efc5035 --- /dev/null +++ b/src/.clang-format @@ -0,0 +1,20 @@ +{ + "BasedOnStyle": "LLVM", + "UseTab": "Always", + "IndentWidth": 8, + "TabWidth": 8, + "ColumnLimit": 120, + "LineEnding": "LF", + "RemoveBracesLLVM": true, + "AlwaysBreakAfterReturnType": "AllDefinitions", + "BreakBeforeBraces": "Custom", + "BraceWrapping": { + "AfterFunction": true, + "AfterClass": false, + "AfterControlStatement": false, + "AfterNamespace": false, + "AfterStruct": false, + "BeforeElse": false, + "BeforeCatch": false + } +}