This implements the resolution to LWG-3320
"span::cbegin/cend methods produce different results than std::[ranges::]cbegin/cend"
Details
Details
- Reviewers
ldionne mclow.lists EricWF - Group Reviewers
Restricted Project - Commits
- rGc5ff4031c6d1: [libcxx][span] Remove const_iterator from std::span
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you please avoid clang-formatting the changes? I can't tell what changed and what didn't. We should agree on a clang-format style for libc++ and clang-format the whole code base at once instead.
Comment Actions
My hope was that it would fix the complaints from the Harbormaster. But that doesnt seem to be the case
Comment Actions
Looks like there are still white-space changes in the tests. And there are warning from the CI? Are those formatting warnings or "real" warnings?
Comment Actions
There are some manual whitespace changes, where I removed double spaces that were previously used to align the end and cend versions. @ldionne referred to an attempt to clang-format the file
libcxx/test/std/containers/views/span.iterators/end.pass.cpp | ||
---|---|---|
51–53 | Please watch out for added tabs in the future. |
Please watch out for added tabs in the future.