Skip to content
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] NO.8 enable cppcoreguidelines-narrowing-conversions. step:1 #56218

Merged

Conversation

gouzil
Copy link
Member

@gouzil gouzil commented Aug 12, 2023

@paddle-bot
Copy link

paddle-bot bot commented Aug 12, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Aug 12, 2023
@@ -97,7 +98,8 @@ size_t CpuMinChunkSize() {
size_t CUDAPinnedMaxAllocSize() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CUDA的部分是不是应该放到paddle/phi/backends/gpu/cuda/cuda_info.cc这个文件下比较合适

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Aug 14, 2023
zhangbo9674
zhangbo9674 previously approved these changes Aug 14, 2023
.clang-tidy Outdated
@@ -156,7 +156,7 @@ bugprone-unused-raii,
-cppcoreguidelines-c-copy-assignment-signature,
-cppcoreguidelines-explicit-virtual-functions,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-narrowing-conversions,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

当前进度784/2477

没修完的话,这里能打开么

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@gouzil gouzil changed the title [clang-tidy] NO.8 enable cppcoreguidelines-narrowing-conversions [clang-tidy] NO.8 enable cppcoreguidelines-narrowing-conversions. step:1 Aug 15, 2023
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Aug 23, 2023

Sorry to inform you that 85c4c4c's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

…coreguidelines_narrowing_conversions

# Conflicts:
#	paddle/phi/backends/device_manager.cc
@gouzil
Copy link
Member Author

gouzil commented Aug 24, 2023

@luotao1 需要豁免覆盖率

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants