From 90a50618f2f334670817ccea38cd07cb9c15dbb2 Mon Sep 17 00:00:00 2001 From: imi415 Date: Thu, 25 Nov 2021 00:45:19 +0800 Subject: [PATCH] Added clang-format. --- .clang-format | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..3003f59 --- /dev/null +++ b/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: Google +IndentWidth: 4 +AlignConsecutiveMacros: AcrossEmptyLines +AlignConsecutiveDeclarations: true +AlignConsecutiveAssignments: AcrossEmptyLinesAndComments +BreakBeforeBraces: Custom +BraceWrapping: + AfterEnum: false + AfterStruct: false + SplitEmptyFunction: false +ColumnLimit: 120 \ No newline at end of file