mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
调整 clang-format 风格配置 (#1404)
This commit is contained in:
parent
3bf6ec8939
commit
4b2be8e05a
@ -27,7 +27,25 @@ AllowShortFunctionsOnASingleLine: Inline
|
|||||||
# 模板声明换行
|
# 模板声明换行
|
||||||
AlwaysBreakTemplateDeclarations: Yes
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
# 左开括号不换行
|
# 左开括号不换行
|
||||||
BreakBeforeBraces: Attach
|
BreakBeforeBraces: Custom
|
||||||
|
BraceWrapping:
|
||||||
|
AfterCaseLabel: false
|
||||||
|
AfterClass: false
|
||||||
|
# BraceWrappingAfterControlStatementStyle: MultiLine
|
||||||
|
AfterEnum: false
|
||||||
|
AfterFunction: false
|
||||||
|
AfterNamespace: false
|
||||||
|
AfterStruct: false
|
||||||
|
AfterUnion: false
|
||||||
|
AfterExternBlock: false
|
||||||
|
BeforeCatch: false
|
||||||
|
BeforeElse: false
|
||||||
|
BeforeLambdaBody: false
|
||||||
|
BeforeWhile: false
|
||||||
|
IndentBraces: false
|
||||||
|
SplitEmptyFunction: false
|
||||||
|
SplitEmptyRecord: false
|
||||||
|
SplitEmptyNamespace: false
|
||||||
# 构造函数初始化时在 `,` 前换行, 和 `:` 对齐显得整齐
|
# 构造函数初始化时在 `,` 前换行, 和 `:` 对齐显得整齐
|
||||||
BreakConstructorInitializers: BeforeComma
|
BreakConstructorInitializers: BeforeComma
|
||||||
# 继承过长需要换行时也在 `,` 前
|
# 继承过长需要换行时也在 `,` 前
|
||||||
|
Loading…
Reference in New Issue
Block a user