This implements the resolution to LWG-3320
"span::cbegin/cend methods produce different results than std::[ranges::]cbegin/cend"
Details
- Reviewers
ldionne mclow.lists EricWF - Group Reviewers
Restricted Project - Commits
- rGc5ff4031c6d1: [libcxx][span] Remove const_iterator from std::span
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
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.
My hope was that it would fix the complaints from the Harbormaster. But that doesnt seem to be the case
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?
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 | Please watch out for added tabs in the future. |
clang-format: please reformat the code