[libc++] [LIBCXX-DEBUG-FIXME] Iterating a string::iterator "off the end" is UB.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Wed, 21 Apr 2021 01:51:41 +0000 (21:51 -0400)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Wed, 5 May 2021 20:21:09 +0000 (16:21 -0400)
commit12dd9cdf1a8267e0c5db4f191f2598648de02619
treeead0506cfd132eb1c6bf5a52faf0d48d6549de04
parentdb9425cb060bd076fcdcbb5a37bfd992deff2086
[libc++] [LIBCXX-DEBUG-FIXME] Iterating a string::iterator "off the end" is UB.

The range of char pointers [data, data+size] is a valid closed range,
but the range [begin, end) is valid only half-open.

Differential Revision: https://reviews.llvm.org/D101676
libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp