summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-03-06 03:59:44 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-03-06 03:59:44 +0000
commit8eda3ad29d89317aa25cf2e7aaf8c785b32fc608 (patch)
tree0e7a72a662e62ff3259f96d65885e6065c036064 /libcxx/test/std/containers/views/span.objectrep/as_writeable_bytes.fail.cpp
parentc2d6b84d3c7ec999ee2df9c3a061bd63c147f977 (diff)
downloadbcm5719-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.cpp4
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;
OpenPOWER on IntegriCloud