mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 02:34:26 +08:00
调整switch case代码风格
This commit is contained in:
parent
fe3f9e3cff
commit
d3ac296228
@ -56,6 +56,12 @@ ColumnLimit: 120
|
||||
Cpp11BracedListStyle: false
|
||||
# 命名空间后的注释会修正为: // namespace_name
|
||||
FixNamespaceComments: true
|
||||
|
||||
#switch case的缩进
|
||||
IndentCaseLabels: true
|
||||
#允许单行case
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
|
||||
# clang-format >= 13 required, lambda 函数内部缩进级别和外部一致, 默认会增加一级缩进
|
||||
# LambdaBodyIndentation: OuterScope
|
||||
# 命名空间不缩进
|
||||
|
Loading…
Reference in New Issue
Block a user