forked from OSchip/llvm-project
Patch by GM: Adding MSVC support to __bit_reference
llvm-svn: 193084
This commit is contained in:
parent
665c90e184
commit
d8cfc7dce9
|
@ -40,7 +40,7 @@ class __bit_reference
|
|||
__storage_pointer __seg_;
|
||||
__storage_type __mask_;
|
||||
|
||||
#if defined(__clang__) || defined(__IBMCPP__)
|
||||
#if defined(__clang__) || defined(__IBMCPP__) || defined(_LIBCPP_MSVC)
|
||||
friend typename _Cp::__self;
|
||||
#else
|
||||
friend class _Cp::__self;
|
||||
|
@ -130,7 +130,7 @@ class __bit_const_reference
|
|||
__storage_pointer __seg_;
|
||||
__storage_type __mask_;
|
||||
|
||||
#if defined(__clang__) || defined(__IBMCPP__)
|
||||
#if defined(__clang__) || defined(__IBMCPP__) || defined(_LIBCPP_MSVC)
|
||||
friend typename _Cp::__self;
|
||||
#else
|
||||
friend class _Cp::__self;
|
||||
|
@ -1222,7 +1222,7 @@ private:
|
|||
__bit_iterator(__storage_pointer __s, unsigned __ctz) _NOEXCEPT
|
||||
: __seg_(__s), __ctz_(__ctz) {}
|
||||
|
||||
#if defined(__clang__) || defined(__IBMCPP__)
|
||||
#if defined(__clang__) || defined(__IBMCPP__) || defined(_LIBCPP_MSVC)
|
||||
friend typename _Cp::__self;
|
||||
#else
|
||||
friend class _Cp::__self;
|
||||
|
|
Loading…
Reference in New Issue