33 lines
640 B
YAML
33 lines
640 B
YAML
# -*- mode: yaml; -*-
|
|
|
|
---
|
|
BasedOnStyle: Google
|
|
IndentWidth: 2
|
|
ConstructorInitializerIndentWidth: 2
|
|
ContinuationIndentWidth: 2
|
|
|
|
AlignConsecutiveBitFields:
|
|
Enabled: true
|
|
|
|
AlignConsecutiveMacros:
|
|
Enabled: true
|
|
|
|
AlignConsecutiveShortCaseStatements:
|
|
Enabled: true
|
|
|
|
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
|
|
|
|
IndentCaseLabels: false
|
|
|
|
# 多行函数每个参数单独一行
|
|
AlignAfterOpenBracket: BlockIndent
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
|
|
# 指针样式(右对齐)
|
|
DerivePointerAlignment: false
|
|
PointerAlignment: Right
|
|
---
|