diff options
author | Louis Dionne <ldionne@apple.com> | 2019-03-28 19:10:32 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-03-28 19:10:32 +0000 |
commit | 0408a7892ea5c7272b4b7fe0612f5c3265e52543 (patch) | |
tree | 6284b15fdf851efa2f5fd064c18b0b1b0331d0e4 /pstl/test | |
parent | 66b5e322fcc337b65c580d733d04ab41572d643d (diff) | |
download | llvm-0408a7892ea5c7272b4b7fe0612f5c3265e52543.zip llvm-0408a7892ea5c7272b4b7fe0612f5c3265e52543.tar.gz llvm-0408a7892ea5c7272b4b7fe0612f5c3265e52543.tar.bz2 |
[pstl] Uglify internal names of the library
llvm-svn: 357203
Diffstat (limited to 'pstl/test')
5 files changed, 5 insertions, 5 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp index c27e51c..1709851 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition_copy.pass.cpp @@ -39,7 +39,7 @@ struct test_partition_copy EXPECT_TRUE(std::distance(true_first, actual_ret.first) == std::count_if(first, last, unary_op), "partition_copy has wrong effect from true sequence"); EXPECT_TRUE(std::distance(false_first, actual_ret.second) == - std::count_if(first, last, __pstl::internal::not_pred<UnaryOp>(unary_op)), + std::count_if(first, last, __pstl::__internal::__not_pred<UnaryOp>(unary_op)), "partition_copy has wrong effect from false sequence"); } diff --git a/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp index 5aeaac8..7784d38 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/replace.pass.cpp @@ -151,7 +151,7 @@ struct test_non_const int32_t main() { - test<int32_t, float32_t>(__pstl::internal::equal_value<int32_t>(666)); + test<int32_t, float32_t>(__pstl::__internal::__equal_value<int32_t>(666)); test<uint16_t, uint8_t>([](const uint16_t& elem) { return elem % 3 < 2; }); test<float64_t, int64_t>([](const float64_t& elem) { return elem * elem - 3.5 * elem > 10; }); test<copy_int, copy_int>([](const copy_int& val) { return val.value / 5 > 2; }); diff --git a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp index b18bb5f6..fff2284 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/includes.pass.cpp @@ -103,7 +103,7 @@ int32_t main() { - test_includes<float64_t, float64_t>(__pstl::internal::pstl_less()); + test_includes<float64_t, float64_t>(__pstl::__internal::__pstl_less()); test_includes<Num<int64_t>, Num<int32_t>>([](const Num<int64_t>& x, const Num<int32_t>& y) { return x < y; }); std::cout << done() << std::endl; diff --git a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp index 33b7542..6d8c089 100644 --- a/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp +++ b/pstl/test/std/algorithms/alg.sorting/alg.set.operations/set.pass.cpp @@ -156,7 +156,7 @@ int32_t main() { - test_set<float64_t, float64_t>(__pstl::internal::pstl_less()); + test_set<float64_t, float64_t>(__pstl::__internal::__pstl_less()); test_set<Num<int64_t>, Num<int32_t>>([](const Num<int64_t>& x, const Num<int32_t>& y) { return x < y; }); test_algo_basic_double<int32_t>(run_for_rnd_fw<test_non_const<int32_t>>()); diff --git a/pstl/test/support/utils.h b/pstl/test/support/utils.h index 438d453..e4ef92c 100644 --- a/pstl/test/support/utils.h +++ b/pstl/test/support/utils.h @@ -1238,7 +1238,7 @@ static void invoke_if(Policy&& p, F f) { #if __PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || __PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN - __pstl::internal::invoke_if_not(__pstl::internal::allow_unsequenced<Policy>(), f); + __pstl::__internal::invoke_if_not(__pstl::__internal::allow_unsequenced<Policy>(), f); #else f(); #endif |