summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cstddef
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/cstddef
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/cstddef')
-rw-r--r--libcxx/include/cstddef6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef
index 4b01be26afe..24670897381 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -58,12 +58,12 @@ typedef long double max_align_t;
struct _LIBCPP_VISIBLE nullptr_t
{
- void* _;
+ void* __lx;
struct __nat {int __for_bool_;};
- _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t() : _(0) {}
- _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t(int __nat::*) : _(0) {}
+ _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t() : __lx(0) {}
+ _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t(int __nat::*) : __lx(0) {}
_LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR operator int __nat::*() const {return 0;}
OpenPOWER on IntegriCloud