diff options
author | Casey Carter <Casey@Carter.net> | 2023-01-07 23:12:21 -0800 |
---|---|---|
committer | Casey Carter <Casey@Carter.net> | 2023-01-08 15:34:30 -0800 |
commit | ad41d1e26b12855fbb2b3104580a8d2b63bd5827 (patch) | |
tree | 14b4eb2668dd28bbc91e5d1dc816094d47c6269e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 8f7e674771081b0d9d1099aff016536140b2e79b (diff) | |
download | llvm-ad41d1e26b12855fbb2b3104580a8d2b63bd5827.zip llvm-ad41d1e26b12855fbb2b3104580a8d2b63bd5827.tar.gz llvm-ad41d1e26b12855fbb2b3104580a8d2b63bd5827.tar.bz2 |
[libc++][test] zip_view test cleanups
* The reference type of `common_input_iterator<const int*>` can't be `int&`, because an lvalue of type `const int` _can't_ bind to an `int&`. Fix by changing the return type of `operator*` to `decltype(auto)` to make it fully generic.
* `range.zip/iterator/compare.pass.cpp` verifies that the iterators of a `zip_view` don't support `<=>` when the underlying iterators do not; this is not true after LWG-3692.
* libc++ doesn't yet implement P2165R4 "Compatibility between tuple, pair and tuple-like objects", so the tests expect `zip_view` to use `pair` in places where the working draft requires `tuple`.
Differential Revision: https://reviews.llvm.org/D141216
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions