-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[clang-tidy] enable readability-container-size-empty
check
#55279
[clang-tidy] enable readability-container-size-empty
check
#55279
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
这里记录一个 TODO:cinn目录开启检查 |
TODO2:PR-CI-Codestyle-Check中打开检查:pre-commit run clang-tidy --diff-files > clang-tidy.log 2>&1 然后grep看log是不是空的,全量扫27分钟,增量应该快一点 |
|
…addle#55279) * [clang-tidy] enable readability-container-size-empty check * fix test_custom_kernel Failed * add clang-tid-10 in dockerfile * add clang-tidy in dockerfile * fix bug
…addle#55279) * [clang-tidy] enable readability-container-size-empty check * fix test_custom_kernel Failed * add clang-tid-10 in dockerfile * add clang-tidy in dockerfile * fix bug
PR types
Others
PR changes
Others
Description
clang-tidy
pre-commit hookreadability-container-size-empty
checkpaddle/cinn
dirPR-CI-Codestyle-Check
withclang-tidy
is not yet available📓 操作指南🥇
在
.clang-tidy
中移除-readability-container-size-empty
的前缀-
clang-tidy
,并根据clang-tidy
提示修改代码Installation clang-tidy
Linux
MacOS
Windows