forked from OSchip/llvm-project
Solve the errors
Error 1 error C2681: 'add_rvalue_reference<_Tp*>::type' : invalid expression type for dynamic_cast c:\libcxx\include\type_traits This is one more step getting libcxx compile under Visual C++. The patch is #if defined(_LIBCPP_MSVC) so will affect only this build. When libcxx can be compiled, it will probably require the current version or maybe even the next Update of Visual C++ 2013. Patch by G M! llvm-svn: 201844
This commit is contained in:
parent
265b83a87f
commit
7b89f9958f
|
@ -946,7 +946,7 @@ template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_empty : public __libcpp_emp
|
|||
|
||||
// is_polymorphic
|
||||
|
||||
#if __has_feature(is_polymorphic)
|
||||
#if __has_feature(is_polymorphic) || defined(_LIBCPP_MSVC)
|
||||
|
||||
template <class _Tp>
|
||||
struct _LIBCPP_TYPE_VIS_ONLY is_polymorphic
|
||||
|
|
Loading…
Reference in New Issue