Browse Source

chore: update .clang-format for extern block

master
anjingyu 1 year ago
parent
commit
bb42ea200e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      dbcc/.clang-format

+ 2
- 0
dbcc/.clang-format View File

@@ -49,6 +49,8 @@ BinPackParameters: true
# Allman(总是在大括号前换行), GNU(总是在大括号前换行, 并对于控制语句的大括号增加额外的缩进), WebKit(在函数前换行), Custom
# 注:这里认为语句块也属于函数
BreakBeforeBraces: Custom
# Extern block
IndentExternBlock: NoIndent
# 大括号换行, 只有当BreakBeforeBraces设置为Custom时才有效
BraceWrapping:
# 命名空间定义后面


Loading…
Cancel
Save