[all-commits] [llvm/llvm-project] cfe179: [libcxx][test] {move, reverse}_iterator cannot be i...
Casey Carter via All-commits
all-commits at lists.llvm.org
Mon Jan 24 08:34:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cfe17986c952e552a731237da99f4879def3a02b
https://github.com/llvm/llvm-project/commit/cfe17986c952e552a731237da99f4879def3a02b
Author: Casey Carter <Casey at Carter.net>
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.pass.cpp
M libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/three-way.pass.cpp
M libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cons/assign.pass.cpp
Log Message:
-----------
[libcxx][test] {move,reverse}_iterator cannot be instantiated for a type with no `operator*`
Since their nested reference types are defined in terms of `iter_reference_t<T>`, which examines `decltype(*declval<T>())`.
Differential Revision: https://reviews.llvm.org/D117371
More information about the All-commits
mailing list