Added clang-format.

This commit is contained in:
imi415 2021-11-25 00:45:19 +08:00
parent 086fcead45
commit 90a50618f2
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 11 additions and 0 deletions

11
.clang-format Normal file
View File

@ -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