commit 9ff2909e147f22ef90328438f2fb9b9482f774b2 Author: imi415 Date: Sat Jun 11 09:31:07 2022 +0800 Added clang-format configuration. 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