1 Star 0 Fork 1

红枫软件/cocos2d-x-lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.clang-tidy 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
minggo 提交于 2020-12-26 18:28 . add .clang-tidy (#3152)
Checks: >
-*,
readability-*,
performance-*,
modernize-*,
misc-*,
portability-*,
cppcoreguidelines-*,
google-explicit-constructor,
-modernize-use-trailing-return-type,
-fuchsia-trailing-return
CheckOptions:
################## readability identifier naming ################################
# class
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMemberPrefix
value: _
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ClassConstantCasePrefix
value: _
# enum
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.ScopedEnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
# others
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.StaticConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.StructCase
value: CamelBack
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/akinggw/cocos2d-x-lite.git
git@gitee.com:akinggw/cocos2d-x-lite.git
akinggw
cocos2d-x-lite
cocos2d-x-lite
3d-gfx

搜索帮助