IndentExternBlock
IndentExternBlock (IndentExternBlockStyle)¶
Info
clang-format 12
IndentExternBlockStyle 是 extern 块的缩进类型。
可能的值:
IEBS_AfterExternBlock: 向后兼容 AfterExternBlock 的缩进。
IndentExternBlock: AfterExternBlock
BraceWrapping.AfterExternBlock: true
extern "C"
{
void foo();
}
IndentExternBlock: AfterExternBlock
BraceWrapping.AfterExternBlock: false
extern "C" {
void foo();
}
IEBS_NoIndent: 不缩进外部块。
extern "C" {
void foo();
}
IEBS_Indent: 缩进外部块。
extern "C" {
void foo();
}
最后更新:
2022-10-31