代码检测

This commit is contained in:
2026-04-18 20:04:52 +08:00
parent 78517d670b
commit f7af97ebc3
3 changed files with 66 additions and 2 deletions

14
.clang-format Normal file
View File

@@ -0,0 +1,14 @@
---
Language: Cpp
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 120
BreakBeforeBraces: Attach
PointerAlignment: Right
SortIncludes: Never
AllowShortIfStatementsOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Empty
SpaceBeforeParens: ControlStatements
...