diff options
author | Louis Dionne <ldionne@apple.com> | 2019-04-10 19:51:40 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-04-10 19:51:40 +0000 |
commit | 3dee12e4a57241e4a53687f4a4e463b581dabf46 (patch) | |
tree | 67f01614fe364c0f768a0a5961791c7cd28b2a32 /pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp | |
parent | 0352f201dd3cf9ec83bf527eeef0b464214ff243 (diff) | |
download | bcm5719-llvm-3dee12e4a57241e4a53687f4a4e463b581dabf46.tar.gz bcm5719-llvm-3dee12e4a57241e4a53687f4a4e463b581dabf46.zip |
[pstl] Move to single underscore-capital for macros and include guards
Summary: Per the LLVM convention.
Reviewers: rodgert
Subscribers: jkorous, dexonsmith, jdoerfert, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D60521
llvm-svn: 358131
Diffstat (limited to 'pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp')
-rw-r--r-- | pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp index 82b986bcfbf..5a5404f9bff 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/remove.pass.cpp @@ -24,8 +24,8 @@ using namespace TestUtils; struct run_remove { -#if __PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \ - __PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN //dummy specialization by policy type, in case of broken configuration +#if _PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \ + _PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN //dummy specialization by policy type, in case of broken configuration template <typename InputIterator, typename OutputIterator, typename Size, typename T> void operator()(pstl::execution::unsequenced_policy, InputIterator first, InputIterator last, OutputIterator out_first, @@ -62,8 +62,8 @@ struct run_remove struct run_remove_if { -#if __PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \ - __PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN //dummy specialization by policy type, in case of broken configuration +#if _PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \ + _PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN //dummy specialization by policy type, in case of broken configuration template <typename InputIterator, typename OutputIterator, typename Size, typename Predicate> void operator()(pstl::execution::unsequenced_policy, InputIterator first, InputIterator last, OutputIterator out_first, @@ -136,7 +136,7 @@ struct test_non_const int32_t main() { -#if !__PSTL_ICC_18_TEST_EARLY_EXIT_MONOTONIC_RELEASE_BROKEN +#if !_PSTL_ICC_18_TEST_EARLY_EXIT_MONOTONIC_RELEASE_BROKEN test<int32_t>(666, 42, [](int32_t val) { return true; }, [](size_t j) { return j; }); #endif @@ -145,7 +145,7 @@ main() test<float64_t>(-666.0, 8.5, [](const float64_t& val) { return val != 8.5; }, [](size_t j) { return ((j + 1) % 7 & 2) != 0 ? 8.5 : float64_t(j % 32 + j); }); -#if !__PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN +#if !_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN test<Number>(Number(-666, OddTag()), Number(42, OddTag()), IsMultiple(3, OddTag()), [](int32_t j) { return Number(j, OddTag()); }); #endif |