[PATCH] D41372: [libcxx] Fix transform_reduce mishandling move-only types, and nonstandard macro use in tests.

Billy Robert O'Neal III via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 17:32:34 PST 2017


BillyONeal created this revision.
BillyONeal added reviewers: mclow.lists, EricWF.

- Remove _VSTD use and remove C++03-isms in C++17 tests for transform_reduce.
- Add tests for all the transform_reduce overloads that pass in a move-only type.
- Repair missing move in libc++ product code.


Repository:
  rL LLVM

https://reviews.llvm.org/D41372

Files:
  include/numeric
  test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_init_bop_uop.pass.cpp
  test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp
  test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init_op_op.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41372.127441.patch
Type: text/x-patch
Size: 14654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171219/665c2a0a/attachment.bin>


More information about the cfe-commits mailing list