-
Notifications
You must be signed in to change notification settings - Fork 915
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
Use east const in include files #13494
Use east const in include files #13494
Conversation
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.
Nice work! Good to know that clang-format
can automate this kind of cleanup.
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.
Not for this PR but this should be a cuh
file instead of c-style h
file.
Use east const in _cpp/tests/_ files used clang-format `QualifierAlignment: Right` to do the clean up. since https://clang.llvm.org/docs/ClangFormatStyleOptions.html#qualifieralignment has warning that `Setting QualifierAlignment to something other than Leave, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.` So it's not added to .clang-format Split to multiple PRs for easy reviewing #13491, #13492, #13493, #13494 Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Nghia Truong (https://github.com/ttnghia) - Mark Harris (https://github.com/harrism) URL: #13492
Use east const in _cpp/src/_ files used clang-format `QualifierAlignment: Right` to do the clean up. since https://clang.llvm.org/docs/ClangFormatStyleOptions.html#qualifieralignment has warning that `Setting QualifierAlignment to something other than Leave, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.` So it's not added to .clang-format Split to multiple PRs for easy reviewing #13491, #13492, #13493, #13494 Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Nghia Truong (https://github.com/ttnghia) - Vukasin Milovanovic (https://github.com/vuule) URL: #13493
/merge |
Use east const in _cpp/benchmarks/_ files used clang-format `QualifierAlignment: Right` to do the clean up. since https://clang.llvm.org/docs/ClangFormatStyleOptions.html#qualifieralignment has warning that `Setting QualifierAlignment to something other than Leave, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.` So it's not added to .clang-format Split to multiple PRs for easy reviewing #13491, #13492, #13493, #13494 Authors: - Karthikeyan (https://github.com/karthikeyann) - Nghia Truong (https://github.com/ttnghia) Approvers: - Nghia Truong (https://github.com/ttnghia) - Bradley Dice (https://github.com/bdice) URL: #13491
This PR documents the libcudf preference for "east const." Follow-up from #13491, #13492, #13493, #13494. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - David Wendt (https://github.com/davidwendt) - Nghia Truong (https://github.com/ttnghia) - Yunsong Wang (https://github.com/PointKernel) URL: #14836
Description
Use east const in cpp/include/ files
used clang-format
QualifierAlignment: Right
to do the clean up.since https://clang.llvm.org/docs/ClangFormatStyleOptions.html#qualifieralignment has warning that
Setting QualifierAlignment to something other than Leave, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.
So it's not added to .clang-format
Split to multiple PRs for easy reviewing #13491, #13492, #13493, #13494
Checklist