We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c336bd7 commit ce0a74eCopy full SHA for ce0a74e
clang/lib/Headers/cuda_wrappers/cmath
@@ -63,9 +63,9 @@ __constexpr_fmax(long double __x, long double __y) _NOEXCEPT {
63
64
template <class _Tp, class _Up, __enable_if_t<is_arithmetic<_Tp>::value && is_arithmetic<_Up>::value, int> = 0>
65
__attribute__((device))
66
-_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 typename __promote<_Tp, _Up>::type
+_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 __promote_t<_Tp, _Up>
67
__constexpr_fmax(_Tp __x, _Up __y) _NOEXCEPT {
68
- using __result_type = typename __promote<_Tp, _Up>::type;
+ using __result_type = __promote_t<_Tp, _Up>;
69
return std::__constexpr_fmax(static_cast<__result_type>(__x), static_cast<__result_type>(__y));
70
}
71
#endif // _LIBCPP_STD_VER < 14
0 commit comments