summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.modifying.operations/unique.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/unique.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/unique.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp
index 06639ccf685..92a9cddabd6 100644
--- a/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp
+++ b/pstl/test/std/algorithms/alg.modifying.operations/unique.pass.cpp
@@ -24,8 +24,8 @@ using namespace TestUtils;
struct run_unique
{
-#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 ForwardIt, typename Generator>
void
operator()(pstl::execution::unsequenced_policy, ForwardIt first1, ForwardIt last1, ForwardIt first2,
@@ -142,7 +142,7 @@ struct test_non_const
int32_t
main()
{
-#if !__PSTL_ICC_16_17_18_TEST_UNIQUE_MASK_RELEASE_BROKEN
+#if !_PSTL_ICC_16_17_18_TEST_UNIQUE_MASK_RELEASE_BROKEN
test<int32_t>([](size_t j) { return j / 3; },
[](const int32_t& val1, const int32_t& val2) { return val1 * val1 == val2 * val2; });
test<float64_t>([](size_t) { return float64_t(1); },
OpenPOWER on IntegriCloud