feat(clang): add claude suggestion

This commit is contained in:
2025-09-09 11:11:53 +08:00
parent cfc13ff82c
commit d5350c35a8
9 changed files with 360 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# 基於 Google 風格但較寬鬆,適合舊代碼
BasedOnStyle: Google
IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 100
AccessModifierOffset: -2
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Attach
IndentCaseLabels: true
SpacesBeforeTrailingComments: 2
Standard: Cpp03 # 針對舊代碼