Added clang-format.

This commit is contained in:
imi415 2022-01-21 22:44:31 +08:00
parent e4d597c5bf
commit 4ab907c903
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