BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never

# 函数之间空一行
SeparateDefinitionBlocks: Always

# 大括号风格
BreakBeforeBraces: Attach

# 对齐规则
AlignAfterOpenBracket: Align
AlignOperands: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true

# 换行规则
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLoopsOnASingleLine: false

# 空格规则
SpaceAfterCStyleCast: true
SpaceBeforeParens: ControlStatements
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceInEmptyParentheses: false

# 最大行宽（超出会自动换行）
ColumnLimit: 1000
