summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental/iterator
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/iterator
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/iterator')
-rw-r--r--libcxx/include/experimental/iterator10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/experimental/iterator b/libcxx/include/experimental/iterator
index 37186b3d0b3..ea672e96631 100644
--- a/libcxx/include/experimental/iterator
+++ b/libcxx/include/experimental/iterator
@@ -75,19 +75,19 @@ public:
typedef void reference;
ostream_joiner(ostream_type& __os, _Delim&& __d)
- : __output(_VSTD::addressof(__os)), __delim(_VSTD::move(__d)), __first(true) {}
+ : __output_iter(_VSTD::addressof(__os)), __delim(_VSTD::move(__d)), __first(true) {}
ostream_joiner(ostream_type& __os, const _Delim& __d)
- : __output(_VSTD::addressof(__os)), __delim(__d), __first(true) {}
+ : __output_iter(_VSTD::addressof(__os)), __delim(__d), __first(true) {}
template<typename _Tp>
ostream_joiner& operator=(const _Tp& __v)
{
if (!__first)
- *__output << __delim;
+ *__output_iter << __delim;
__first = false;
- *__output << __v;
+ *__output_iter << __v;
return *this;
}
@@ -96,7 +96,7 @@ public:
ostream_joiner& operator++(int) _NOEXCEPT { return *this; }
private:
- ostream_type* __output;
+ ostream_type* __output_iter;
_Delim __delim;
bool __first;
};
OpenPOWER on IntegriCloud