-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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.6 enable modernize-avoid-c-arrays
step: 2
#55954
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
…l/Paddle into c_t_avoid_c_arrays # Conflicts: # .clang-tidy
…rrays # Conflicts: # paddle/fluid/pybind/eager_py_layer.cc
@GreatV 求助 windows ci 报错 |
@gouzil |
没超时呀, PR-CI-Windows-OPENBLAS error C2679: binary '==': no operator found which takes a right-hand operand of type 'const T2' (or there is no acceptable conversion) |
paddle/utils/span_test.cc
Outdated
CHECK_EQ(s.data(), arr); | ||
CHECK_EQ(s.begin(), std::begin(arr)); | ||
CHECK_EQ(s.end(), std::end(arr)); | ||
CHECK_EQ(s.data(), arr.data()); |
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.
估计msvc有啥限制吧,用 nolint ?
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.
感觉像paddle::span
的问题, 这个CHECK_EQ
在paddle/utils/array_ref_test.cc
下没有问题,可以暂时考虑先nolint
PR types
Others
PR changes
Others
Description
所有的
modernize-avoid-c-arrays
检查将会在此pr做完相关链接:
modernize-avoid-c-arrays
check #55774