[libcxx-commits] [PATCH] D58852: Changes from integrating PSTL with libstdc++

Thomas Rodgers via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 1 16:03:24 PST 2019


rodgert created this revision.
Herald added subscribers: libcxx-commits, jdoerfert, mstorsjo, jfb, mgorny, srhines.
Herald added a reviewer: ldionne.

This is a combination of the following:

- Remove unused include - pstl_config.h is not required

- Introduce forward declarations - necessary to break circular includes when introduced to the standard library's, e.g. - <algorithm> <numeric> <memory>

- Deprecate non-cmake build and test suite Makefile based build is not a LLVM standard Original test suite does not conform to libc++'s standards Scripts for integrating tests into libstdc++ assume libc++'s test layout


Repository:
  rPSTL pstl

https://reviews.llvm.org/D58852

Files:
  CMakeLists.txt
  build/Makefile
  build/Makefile.common
  build/Makefile.pstl
  build/android.inc
  build/android.linux.launcher.sh
  build/clang.inc
  build/gcc.inc
  build/icc.inc
  build/icl.inc
  build/jni/Android.mk
  build/jni/Application.mk
  build/macos.inc
  build/mingw.inc
  build/unix.inc
  build/windows.inc
  include/pstl/internal/algorithm_fwd.h
  include/pstl/internal/glue_algorithm_impl.h
  include/pstl/internal/glue_execution_defs.h
  include/pstl/internal/glue_memory_impl.h
  include/pstl/internal/numeric_fwd.h
  include/pstl/internal/numeric_impl.h
  test/CMakeLists.txt
  test/pstl_test_config.h
  test/std/CMakeLists.txt
  test/std/algorithms/CMakeLists.txt
  test/std/algorithms/alg.merge/CMakeLists.txt
  test/std/algorithms/alg.merge/inplace_merge.pass.cpp
  test/std/algorithms/alg.merge/merge.pass.cpp
  test/std/algorithms/alg.modifying.operations/CMakeLists.txt
  test/std/algorithms/alg.modifying.operations/alg.copy/CMakeLists.txt
  test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.partitions/CMakeLists.txt
  test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.reverse/CMakeLists.txt
  test/std/algorithms/alg.modifying.operations/alg.reverse/reverse.pass.cpp
  test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
  test/std/algorithms/alg.modifying.operations/copy_move.pass.cpp
  test/std/algorithms/alg.modifying.operations/fill.pass.cpp
  test/std/algorithms/alg.modifying.operations/generate.pass.cpp
  test/std/algorithms/alg.modifying.operations/remove.pass.cpp
  test/std/algorithms/alg.modifying.operations/remove_copy.pass.cpp
  test/std/algorithms/alg.modifying.operations/replace.pass.cpp
  test/std/algorithms/alg.modifying.operations/replace_copy.pass.cpp
  test/std/algorithms/alg.modifying.operations/rotate.pass.cpp
  test/std/algorithms/alg.modifying.operations/rotate_copy.pass.cpp
  test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
  test/std/algorithms/alg.modifying.operations/transform_binary.pass.cpp
  test/std/algorithms/alg.modifying.operations/transform_unary.pass.cpp
  test/std/algorithms/alg.modifying.operations/unique.pass.cpp
  test/std/algorithms/alg.modifying.operations/unique_copy_equal.pass.cpp
  test/std/algorithms/alg.nonmodifying/CMakeLists.txt
  test/std/algorithms/alg.nonmodifying/adjacent_find.pass.cpp
  test/std/algorithms/alg.nonmodifying/all_of.pass.cpp
  test/std/algorithms/alg.nonmodifying/any_of.pass.cpp
  test/std/algorithms/alg.nonmodifying/count.pass.cpp
  test/std/algorithms/alg.nonmodifying/equal.pass.cpp
  test/std/algorithms/alg.nonmodifying/find.pass.cpp
  test/std/algorithms/alg.nonmodifying/find_end.pass.cpp
  test/std/algorithms/alg.nonmodifying/find_first_of.pass.cpp
  test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
  test/std/algorithms/alg.nonmodifying/for_each.pass.cpp
  test/std/algorithms/alg.nonmodifying/mismatch.pass.cpp
  test/std/algorithms/alg.nonmodifying/none_of.pass.cpp
  test/std/algorithms/alg.nonmodifying/nth_element.pass.cpp
  test/std/algorithms/alg.nonmodifying/search_n.pass.cpp
  test/std/algorithms/alg.sorting/CMakeLists.txt
  test/std/algorithms/alg.sorting/alg.heap.operations/CMakeLists.txt
  test/std/algorithms/alg.sorting/alg.heap.operations/is_heap.pass.cpp
  test/std/algorithms/alg.sorting/alg.lex.comparison/CMakeLists.txt
  test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/CMakeLists.txt
  test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp
  test/std/algorithms/alg.sorting/alg.set.operations/CMakeLists.txt
  test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp
  test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp
  test/std/algorithms/alg.sorting/is_sorted.pass.cpp
  test/std/algorithms/alg.sorting/partial_sort.pass.cpp
  test/std/algorithms/alg.sorting/partial_sort_copy.pass.cpp
  test/std/algorithms/alg.sorting/sort.pass.cpp
  test/std/numerics/CMakeLists.txt
  test/std/numerics/numeric.ops/CMakeLists.txt
  test/std/numerics/numeric.ops/adjacent_difference.pass.cpp
  test/std/numerics/numeric.ops/reduce.pass.cpp
  test/std/numerics/numeric.ops/scan.pass.cpp
  test/std/numerics/numeric.ops/transform_reduce.pass.cpp
  test/std/numerics/numeric.ops/transform_scan.pass.cpp
  test/std/utilities/CMakeLists.txt
  test/std/utilities/memory/CMakeLists.txt
  test/std/utilities/memory/specialized.algorithms/CMakeLists.txt
  test/std/utilities/memory/specialized.algorithms/uninitialized_construct.pass.cpp
  test/std/utilities/memory/specialized.algorithms/uninitialized_copy_move.pass.cpp
  test/std/utilities/memory/specialized.algorithms/uninitialized_fill_destroy.pass.cpp
  test/support/parallel_utils.h
  test/support/pstl_test_config.h
  test/test_adjacent_difference.cpp
  test/test_adjacent_find.cpp
  test/test_all_of.cpp
  test/test_any_of.cpp
  test/test_copy_if.cpp
  test/test_copy_move.cpp
  test/test_count.cpp
  test/test_equal.cpp
  test/test_fill.cpp
  test/test_find.cpp
  test/test_find_end.cpp
  test/test_find_first_of.cpp
  test/test_find_if.cpp
  test/test_for_each.cpp
  test/test_generate.cpp
  test/test_includes.cpp
  test/test_inplace_merge.cpp
  test/test_is_heap.cpp
  test/test_is_partitioned.cpp
  test/test_is_sorted.cpp
  test/test_lexicographical_compare.cpp
  test/test_merge.cpp
  test/test_minmax_element.cpp
  test/test_mismatch.cpp
  test/test_none_of.cpp
  test/test_nth_element.cpp
  test/test_partial_sort.cpp
  test/test_partial_sort_copy.cpp
  test/test_partition.cpp
  test/test_partition_copy.cpp
  test/test_reduce.cpp
  test/test_remove.cpp
  test/test_remove_copy.cpp
  test/test_replace.cpp
  test/test_replace_copy.cpp
  test/test_reverse.cpp
  test/test_reverse_copy.cpp
  test/test_rotate.cpp
  test/test_rotate_copy.cpp
  test/test_scan.cpp
  test/test_search_n.cpp
  test/test_set.cpp
  test/test_sort.cpp
  test/test_swap_ranges.cpp
  test/test_transform_binary.cpp
  test/test_transform_reduce.cpp
  test/test_transform_scan.cpp
  test/test_transform_unary.cpp
  test/test_uninitialized_construct.cpp
  test/test_uninitialized_copy_move.cpp
  test/test_uninitialized_fill_destroy.cpp
  test/test_unique.cpp
  test/test_unique_copy_equal.cpp
  test/utils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58852.188992.patch
Type: text/x-patch
Size: 216058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190302/c232df4e/attachment-0001.bin>


More information about the libcxx-commits mailing list