summaryrefslogtreecommitdiffstats
path: root/libcxx/include/iterator
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-10-30 19:06:59 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-10-30 19:06:59 +0000
commit54d333a601a84e10710463e845f9f3a0cb6ca72b (patch)
tree23a7b23123e2088218754a31f9f60912626635c9 /libcxx/include/iterator
parenteac2887143bc33febe1cbbe308b2cef749e28284 (diff)
downloadbcm5719-llvm-54d333a601a84e10710463e845f9f3a0cb6ca72b.tar.gz
bcm5719-llvm-54d333a601a84e10710463e845f9f3a0cb6ca72b.zip
Rename uses of _ and __ because these are getting stepped on by macros from other system code.
llvm-svn: 167038
Diffstat (limited to 'libcxx/include/iterator')
-rw-r--r--libcxx/include/iterator2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/iterator b/libcxx/include/iterator
index 5747504a35b..bcbf3ae4af8 100644
--- a/libcxx/include/iterator
+++ b/libcxx/include/iterator
@@ -337,7 +337,7 @@ template <class _Tp>
struct __has_iterator_category
{
private:
- struct __two {char _; char __;};
+ struct __two {char __lx; char __lxx;};
template <class _Up> static __two __test(...);
template <class _Up> static char __test(typename _Up::iterator_category* = 0);
public:
OpenPOWER on IntegriCloud