summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-04-10 19:51:40 +0000
committerLouis Dionne <ldionne@apple.com>2019-04-10 19:51:40 +0000
commit3dee12e4a57241e4a53687f4a4e463b581dabf46 (patch)
tree67f01614fe364c0f768a0a5961791c7cd28b2a32 /pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
parent0352f201dd3cf9ec83bf527eeef0b464214ff243 (diff)
downloadbcm5719-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/alg.copy/copy_if.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
index 5e6ea34ed80..2a915ca9893 100644
--- a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
+++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
@@ -24,7 +24,7 @@ using namespace TestUtils;
struct run_copy_if
{
-#if __PSTL_ICC_16_VC14_TEST_PAR_TBB_RT_RELEASE_64_BROKEN // dummy specializations to skip testing in case of broken configuration
+#if _PSTL_ICC_16_VC14_TEST_PAR_TBB_RT_RELEASE_64_BROKEN // dummy specializations to skip testing in case of broken configuration
template <typename InputIterator, typename OutputIterator, typename OutputIterator2, typename Size,
typename Predicate, typename T>
void
@@ -135,11 +135,11 @@ main()
test<int32_t>(-666, [](const int32_t& x) { return x != 42; },
[](size_t j) { return ((j + 1) % 5 & 2) != 0 ? int32_t(j + 1) : 42; });
-#if !__PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN
+#if !_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN
test<Number>(Number(42, OddTag()), IsMultiple(3, OddTag()), [](int32_t j) { return Number(j, OddTag()); });
#endif
-#if !__PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN
+#if !_PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN
test<int32_t>(-666, [](const int32_t& x) { return true; }, [](size_t j) { return j; }, false);
#endif
OpenPOWER on IntegriCloud