[libcxx-commits] [PATCH] D127418: [libc++] Use bounded iterators in std::span when the debug mode is enabled

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 16 14:45:41 PDT 2022


ldionne updated this revision to Diff 437713.
ldionne marked 10 inline comments as done.
ldionne added a comment.

Add tests for __bounded_iter itself. Address most review comments. Use clang-format.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127418/new/

https://reviews.llvm.org/D127418

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__config
  libcxx/include/__iterator/bounded_iter.h
  libcxx/include/iterator
  libcxx/include/module.modulemap.in
  libcxx/include/span
  libcxx/test/libcxx/containers/views/views.span/debug.iterator-indexing.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.elem/assert.back.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.elem/assert.front.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.elem/assert.op_idx.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.sub/assert.first.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.sub/assert.last.pass.cpp
  libcxx/test/libcxx/containers/views/views.span/span.sub/assert.subspan.pass.cpp
  libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp
  libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp
  libcxx/test/libcxx/iterators/bounded_iter/dereference.pass.cpp
  libcxx/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxx/test/std/containers/views/views.span/span.sub/first.fail.cpp
  libcxx/test/std/containers/views/views.span/span.sub/first.verify.cpp
  libcxx/test/std/containers/views/views.span/span.sub/last.fail.cpp
  libcxx/test/std/containers/views/views.span/span.sub/last.verify.cpp
  libcxx/test/std/containers/views/views.span/span.sub/subspan.fail.cpp
  libcxx/test/std/containers/views/views.span/span.sub/subspan.verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127418.437713.patch
Type: text/x-patch
Size: 56698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220616/3471ce70/attachment-0001.bin>


More information about the libcxx-commits mailing list