summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-07-18 20:22:28 +0000
committerLouis Dionne <ldionne@apple.com>2019-07-18 20:22:28 +0000
commit01963cec9b3fbc8ec98da449180d95be224dfadd (patch)
treeeb8fa0aff7173862b588f43301e80985513dd02e /pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
parent96f497081351e01f70af275abbf98847d25a5158 (diff)
downloadbcm5719-llvm-01963cec9b3fbc8ec98da449180d95be224dfadd.tar.gz
bcm5719-llvm-01963cec9b3fbc8ec98da449180d95be224dfadd.zip
[NFC][pstl] Run clang-format on the sources, including the tests
llvm-svn: 366492
Diffstat (limited to 'pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
index 57d783095d5..c376f895664 100644
--- a/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
+++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
@@ -57,14 +57,14 @@ is_equal(Iterator first, Iterator last, Iterator d_first)
template <typename Iterator>
typename std::enable_if<!std::is_trivial<typename std::iterator_traits<Iterator>::value_type>::value, bool>::type
-is_equal(Iterator, Iterator, Iterator)
+ is_equal(Iterator, Iterator, Iterator)
{
return true;
}
struct test_one_policy
{
-#if _PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \
+#if _PSTL_ICC_17_VC141_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN || \
_PSTL_ICC_16_VC14_TEST_SIMD_LAMBDA_DEBUG_32_BROKEN //dummy specializations to skip testing in case of broken configuration
template <typename BiDirIt, typename Size, typename UnaryOp, typename Generator>
void
@@ -97,8 +97,8 @@ struct test_one_policy
template <typename Policy, typename BiDirIt, typename Size, typename UnaryOp, typename Generator>
typename std::enable_if<!is_same_iterator_category<BiDirIt, std::forward_iterator_tag>::value, void>::type
- operator()(Policy&& exec, BiDirIt first, BiDirIt last, BiDirIt exp_first, BiDirIt exp_last, Size,
- UnaryOp unary_op, Generator generator)
+ operator()(Policy&& exec, BiDirIt first, BiDirIt last, BiDirIt exp_first, BiDirIt exp_last, Size, UnaryOp unary_op,
+ Generator generator)
{
// partition
{
@@ -121,8 +121,7 @@ struct test_one_policy
}
template <typename Policy, typename BiDirIt, typename Size, typename UnaryOp, typename Generator>
typename std::enable_if<is_same_iterator_category<BiDirIt, std::forward_iterator_tag>::value, void>::type
- operator()(Policy&&, BiDirIt, BiDirIt, BiDirIt, BiDirIt, Size,
- UnaryOp, Generator)
+ operator()(Policy&&, BiDirIt, BiDirIt, BiDirIt, BiDirIt, Size, UnaryOp, Generator)
{
}
};
OpenPOWER on IntegriCloud