- 重构模块使用新的代码风格 - 老代码 (src 目录下的代码) 继续使用之前的代码风格 通过在需要不同代码风格的目录下放对应 .clang-format 配置文件实现
17 lines
273 B
YAML
17 lines
273 B
YAML
# -*- mode: yaml; -*-
|
|
|
|
---
|
|
BasedOnStyle: Google
|
|
IndentWidth: 2
|
|
ConstructorInitializerIndentWidth: 2
|
|
ContinuationIndentWidth: 2
|
|
---
|
|
Language: C
|
|
DerivePointerAlignment: false
|
|
PointerAlignment: Right
|
|
---
|
|
Language: Cpp
|
|
DerivePointerAlignment: false
|
|
PointerAlignment: Right
|
|
---
|