From 9ff2909e147f22ef90328438f2fb9b9482f774b2 Mon Sep 17 00:00:00 2001 From: imi415 Date: Sat, 11 Jun 2022 09:31:07 +0800 Subject: [PATCH] Added clang-format configuration. --- clang-format | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 clang-format diff --git a/clang-format b/clang-format new file mode 100644 index 0000000..d0e0eda --- /dev/null +++ b/clang-format @@ -0,0 +1,12 @@ +BasedOnStyle: Google +IndentWidth: 4 +AlignConsecutiveMacros: Consecutive +AlignConsecutiveDeclarations: true +AlignConsecutiveAssignments: true +AllowShortFunctionsOnASingleLine: false +BreakBeforeBraces: Custom +BraceWrapping: + AfterEnum: false + AfterStruct: false + SplitEmptyFunction: false +ColumnLimit: 120