diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-04-19 01:35:58 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-04-19 01:35:58 +0000 |
commit | 6ded58e27962754957834752173aa6ac60f5e1e7 (patch) | |
tree | d858ddab47928d67b0515645dc30fc73b53b8447 | |
parent | 046492b932bc2033517c08a279da2a0c008005e6 (diff) | |
download | bcm5719-llvm-6ded58e27962754957834752173aa6ac60f5e1e7.tar.gz bcm5719-llvm-6ded58e27962754957834752173aa6ac60f5e1e7.zip |
Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <exception>
llvm-svn: 300649
-rw-r--r-- | libcxx/include/exception | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception index 181d604d6c1..f12ae42093a 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -209,11 +209,11 @@ struct __throw_with_nested; template <class _Tp, class _Up> struct __throw_with_nested<_Tp, _Up, true> { _LIBCPP_NORETURN static inline _LIBCPP_ALWAYS_INLINE void - #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __do_throw(_Tp&& __t) - #else +#else __do_throw (_Tp& __t) - #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { throw __nested<_Up>(_VSTD::forward<_Tp>(__t)); } @@ -222,11 +222,11 @@ struct __throw_with_nested<_Tp, _Up, true> { template <class _Tp, class _Up> struct __throw_with_nested<_Tp, _Up, false> { _LIBCPP_NORETURN static inline _LIBCPP_ALWAYS_INLINE void - #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __do_throw(_Tp&& __t) - #else +#else __do_throw (_Tp& __t) - #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { throw _VSTD::forward<_Tp>(__t); } @@ -236,11 +236,11 @@ struct __throw_with_nested<_Tp, _Up, false> { template <class _Tp> _LIBCPP_NORETURN void -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG throw_with_nested(_Tp&& __t) #else throw_with_nested (_Tp& __t) -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { #ifndef _LIBCPP_NO_EXCEPTIONS typedef typename decay<_Tp>::type _Up; |