diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-03-06 03:59:44 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-03-06 03:59:44 +0000 |
commit | 8eda3ad29d89317aa25cf2e7aaf8c785b32fc608 (patch) | |
tree | 0e7a72a662e62ff3259f96d65885e6065c036064 /libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp | |
parent | c2d6b84d3c7ec999ee2df9c3a061bd63c147f977 (diff) | |
download | bcm5719-llvm-8eda3ad29d89317aa25cf2e7aaf8c785b32fc608.tar.gz bcm5719-llvm-8eda3ad29d89317aa25cf2e7aaf8c785b32fc608.zip |
Eradicate all the ptrdiff_ts in span left over from applying P1227. A couple of other minor cleanups. NFC
llvm-svn: 355481
Diffstat (limited to 'libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp')
-rw-r--r-- | libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp b/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp index 9dadedd7523..388da084ae0 100644 --- a/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp +++ b/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp @@ -10,11 +10,11 @@ // <span> -// template <class ElementType, ptrdiff_t Extent> +// template <class ElementType, size_t Extent> // span<byte, // Extent == dynamic_extent // ? dynamic_extent -// : static_cast<ptrdiff_t>(sizeof(ElementType)) * Extent> +// : sizeof(ElementType) * Extent> // as_writeable_bytes(span<ElementType, Extent> s) noexcept; |