diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2016-10-01 20:38:44 +0000 | 
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2016-10-01 20:38:44 +0000 | 
| commit | 6f557b9f129821a6232d8e1e23f2c8ae65e01437 (patch) | |
| tree | d5bebd5a367a966da56cfde23e004a8e0bdd8e17 | |
| parent | ae22f0b2423192c919ad3c17627a5d40cfcdc5dc (diff) | |
| download | bcm5719-llvm-6f557b9f129821a6232d8e1e23f2c8ae65e01437.tar.gz bcm5719-llvm-6f557b9f129821a6232d8e1e23f2c8ae65e01437.zip  | |
Remove some additional unnecessary std:: in cmath
Unlike in math.h, as Eric pointed out in the review of D18639, we don't need
the std:: in cmath.
llvm-svn: 283052
| -rw-r--r-- | libcxx/include/cmath | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/libcxx/include/cmath b/libcxx/include/cmath index ec28e0e456e..608b9151fc6 100644 --- a/libcxx/include/cmath +++ b/libcxx/include/cmath @@ -541,19 +541,19 @@ inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double x, long double y  template <class _A1, class _A2, class _A3>  inline _LIBCPP_INLINE_VISIBILITY -typename std::__lazy_enable_if +typename __lazy_enable_if  < -    std::is_arithmetic<_A1>::value && -    std::is_arithmetic<_A2>::value && -    std::is_arithmetic<_A3>::value, -    std::__promote<_A1, _A2, _A3> +    is_arithmetic<_A1>::value && +    is_arithmetic<_A2>::value && +    is_arithmetic<_A3>::value, +    __promote<_A1, _A2, _A3>  >::type  hypot(_A1 __lcpp_x, _A2 __lcpp_y, _A3 __lcpp_z) _NOEXCEPT  { -    typedef typename std::__promote<_A1, _A2, _A3>::type __result_type; -    static_assert((!(std::is_same<_A1, __result_type>::value && -                     std::is_same<_A2, __result_type>::value && -                     std::is_same<_A3, __result_type>::value)), ""); +    typedef typename __promote<_A1, _A2, _A3>::type __result_type; +    static_assert((!(is_same<_A1, __result_type>::value && +                     is_same<_A2, __result_type>::value && +                     is_same<_A3, __result_type>::value)), "");      return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);  }  #endif  | 

