summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental/algorithm
diff options
context:
space:
mode:
authorAlexander Richardson <arichardson.kde@gmail.com>2017-11-14 11:14:25 +0000
committerAlexander Richardson <arichardson.kde@gmail.com>2017-11-14 11:14:25 +0000
commit42bfedd935065060268f63063a1799cd7086fe4e (patch)
tree43143a7a556ab7b349b3168b09b71df11947ca57 /libcxx/include/experimental/algorithm
parentdc86e1444d4291ba414b5a2bf5dee25c3aa1efd8 (diff)
downloadbcm5719-llvm-42bfedd935065060268f63063a1799cd7086fe4e.tar.gz
bcm5719-llvm-42bfedd935065060268f63063a1799cd7086fe4e.zip
Rename identifiers named `__output`
Summary: In the CHERI clang compiler __output and __input are keywords and therefore we can't compile libc++ with our compiler. Reviewers: mclow.lists, EricWF, theraven Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D39537 llvm-svn: 318144
Diffstat (limited to 'libcxx/include/experimental/algorithm')
-rw-r--r--libcxx/include/experimental/algorithm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/experimental/algorithm b/libcxx/include/experimental/algorithm
index 3801cae4f16..a6a28f07181 100644
--- a/libcxx/include/experimental/algorithm
+++ b/libcxx/include/experimental/algorithm
@@ -61,9 +61,9 @@ template <class _PopulationIterator, class _SampleIterator, class _Distance,
class _UniformRandomNumberGenerator>
inline _LIBCPP_INLINE_VISIBILITY
_SampleIterator sample(_PopulationIterator __first, _PopulationIterator __last,
- _SampleIterator __output, _Distance __n,
+ _SampleIterator __output_iter, _Distance __n,
_UniformRandomNumberGenerator &&__g) {
- return _VSTD::__sample(__first, __last, __output, __n, __g);
+ return _VSTD::__sample(__first, __last, __output_iter, __n, __g);
}
_LIBCPP_END_NAMESPACE_LFTS
OpenPOWER on IntegriCloud