[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2020-05-14 Thread Louis Dionne via Phabricator via cfe-commits
ldionne commandeered this revision. ldionne edited reviewers, added: jdoerrie; removed: ldionne. ldionne added a comment. Herald added subscribers: broadwaylamb, jkorous. In D69520#1878360 , @miscco wrote: > I believe this is superseded by the implementati

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2020-02-16 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie added a comment. Oh interesting! Yes, it looks like you are right. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2020-02-16 Thread Michael Schellenberger Costa via Phabricator via cfe-commits
miscco added a comment. I believe this is superseded by the implementation of P1976R2 in D74577 CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 ___ cfe-commits mail

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2020-02-16 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie added a comment. Friendly Ping CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-11-03 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie updated this revision to Diff 227605. jdoerrie marked 4 inline comments as done. jdoerrie added a comment. Addressed Marshall's comments CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 Files: libcxx/include/span libcxx/test/std/cont

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-11-03 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie added inline comments. Comment at: libcxx/test/std/containers/views/span.cons/span.fail.cpp:78 - -// Try to remove const and/or volatile (static -> static) -{ mclow.lists wrote: > Ok. The comment here is wrong; this is testing dynamic -> static. >

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-11-01 Thread Marshall Clow via Phabricator via cfe-commits
mclow.lists added inline comments. Comment at: libcxx/test/std/containers/views/span.cons/span.fail.cpp:78 - -// Try to remove const and/or volatile (static -> static) -{ Ok. The comment here is wrong; this is testing dynamic -> static. However, why are you

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-31 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie added a comment. Thanks Jorg! Given that the status is still "Needs Review", I assume I also still need an LGTM from Marshall, Louis or Eric, right? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-30 Thread Jorg Brown via Phabricator via cfe-commits
jorgbrown added a comment. +1 Thanks also for fixing the return statement of testConversionSpan() in span.pass.cpp CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 ___ cfe-commits mailing list cfe-c

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-30 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie added a comment. Friendly Ping :) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-28 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie updated this revision to Diff 226714. jdoerrie added a comment. Full patch CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 Files: libcxx/include/span libcxx/test/std/containers/views/span.cons/span.fail.cpp libcxx/test/std/contain

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-28 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie updated this revision to Diff 226713. jdoerrie added a comment. Formatting CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69520/new/ https://reviews.llvm.org/D69520 Files: libcxx/test/std/containers/views/span.cons/span.pass.cpp Index: libcxx/test/std/containers/views/span.

[PATCH] D69520: [libc++] Disallow dynamic -> static span conversions

2019-10-28 Thread Jan Wilken Dörrie via Phabricator via cfe-commits
jdoerrie created this revision. jdoerrie added reviewers: mclow.lists, ldionne. Herald added a reviewer: EricWF. Herald added subscribers: libcxx-commits, dexonsmith, christof. [libc++] Disallow dynamic -> static span conversions This change disallows dynamic to static span conversions. This comp