[pstl] Remove the stdlib headers from the PSTL and move them to the tests
authorLouis Dionne <ldionne@apple.com>
Tue, 16 Apr 2019 14:38:08 +0000 (14:38 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 16 Apr 2019 14:38:08 +0000 (14:38 +0000)
commit4d88b17b3f282b1023400837c3249c9f27774eca
treeeea1898f3c643cb48b3fd9d9d8e465098b016540
parent417c88940959788bd91883b0199b9c53c67e4e29
[pstl] Remove the stdlib headers from the PSTL and move them to the tests

Summary:
PSTL should not provide those headers since they belong to the standard
library. Instead, we define a dummy standard library in the tests that
provides those headers.

Reviewers: rodgert, MikeDvorskiy

Subscribers: mgorny, jkorous, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D60535

llvm-svn: 358497
64 files changed:
pstl/test/CMakeLists.txt
pstl/test/pstl/header_inclusion_order_algorithm_0.pass.cpp
pstl/test/pstl/header_inclusion_order_algorithm_1.pass.cpp
pstl/test/pstl/header_inclusion_order_memory_0.pass.cpp
pstl/test/pstl/header_inclusion_order_memory_1.pass.cpp
pstl/test/pstl/header_inclusion_order_numeric_0.pass.cpp
pstl/test/pstl/header_inclusion_order_numeric_1.pass.cpp
pstl/test/std/algorithms/alg.merge/inplace_merge.pass.cpp
pstl/test/std/algorithms/alg.merge/merge.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/fill.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/generate.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/rotate.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp
pstl/test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/all_of.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/any_of.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/count.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/for_each.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/none_of.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp
pstl/test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp
pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp
pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp
pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp
pstl/test/std/algorithms/alg.sorting/is_sorted.pass.cpp
pstl/test/std/algorithms/alg.sorting/partial_sort.pass.cpp
pstl/test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp
pstl/test/std/algorithms/alg.sorting/sort.pass.cpp
pstl/test/std/numerics/numeric.ops/adjacent_difference.pass.cpp
pstl/test/std/numerics/numeric.ops/reduce.pass.cpp
pstl/test/std/numerics/numeric.ops/scan.pass.cpp
pstl/test/std/numerics/numeric.ops/transform_reduce.pass.cpp
pstl/test/std/numerics/numeric.ops/transform_scan.pass.cpp
pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp
pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp
pstl/test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp
pstl/test/support/stdlib/algorithm [moved from pstl/include/pstl/algorithm with 67% similarity]
pstl/test/support/stdlib/execution [moved from pstl/include/pstl/execution with 68% similarity]
pstl/test/support/stdlib/memory [moved from pstl/include/pstl/memory with 68% similarity]
pstl/test/support/stdlib/numeric [moved from pstl/include/pstl/numeric with 68% similarity]