加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.clang-tidy 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
shining 提交于 2020-02-17 17:01 . Update the .clang-tidy to add check rules
Checks: '-*,readability-identifier-naming,readability-function-size,
readability-braces-around-statements,readability-magic-numbers,
misc-unused-parameters,modernize-use-nullptr,modernize-replace-auto-ptr,
modernize-use-noexcept,modernize-use-override,performance-move-const-arg,
cppcoreguidelines-pro-type-cstyle-cast,cppcoreguidelines-pro-type-reinterpret-cast,
cppcoreguidelines-pro-type-const-cast'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: camelBack
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: camelBack
- key: readability-function-size.StatementThreshold
value: 50
- key: readability-function-size.ParameterThreshold
value: 5
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化