summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.nonmodifying/find_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.nonmodifying/find_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.nonmodifying/find_if.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
index 2ea8765077f..06763b16958 100644
--- a/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
+++ b/pstl/test/std/algorithms/alg.nonmodifying/find_if.pass.cpp
@@ -24,8 +24,8 @@ using namespace TestUtils;
struct test_find_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 Iterator, typename Predicate, typename NotPredicate>
void
operator()(pstl::execution::unsequenced_policy, Iterator first, Iterator last, Predicate pred,
@@ -95,7 +95,7 @@ struct test_non_const
int32_t
main()
{
-#if !__PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN
+#if !_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN
// Note that the "hit" and "miss" functions here avoid overflow issues.
test<Number>(IsMultiple(5, OddTag()), [](int32_t j) { return Number(j - j % 5, OddTag()); }, // hit
[](int32_t j) { return Number(j % 5 == 0 ? j ^ 1 : j, OddTag()); }); // miss
OpenPOWER on IntegriCloud