mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
调整switch case代码风格
This commit is contained in:
@@ -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
|
||||
# 命名空间不缩进
|
||||
|
||||
Reference in New Issue
Block a user