File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,17 @@ _LIBCPP_BEGIN_NAMESPACE_STD
1111// Suppress deprecation notice for volatile-qualified return type resulting
1212// from volatile-qualified types _Tp.
1313_LIBCPP_SUPPRESS_DEPRECATED_PUSH
14- template <class _Tp >
15- __attribute__ ((device))
16- _Tp&& __declval(int );
17- template <class _Tp >
18- __attribute__ ((device))
19- _Tp __declval(long );
14+ template <class _Tp > __attribute__ ((device)) _Tp &&__declval(int );
15+ template <class _Tp > __attribute__ ((device)) _Tp __declval(long );
2016_LIBCPP_SUPPRESS_DEPRECATED_POP
2117
2218template <class _Tp >
23- __attribute__ ((device))
24- _LIBCPP_HIDE_FROM_ABI decltype(std::__declval<_Tp>( 0 )) declval() _NOEXCEPT {
19+ __attribute__ ((device)) _LIBCPP_HIDE_FROM_ABI decltype(std::__declval<_Tp>( 0 ))
20+ declval() _NOEXCEPT {
2521 static_assert (!__is_same (_Tp, _Tp),
2622 " std::declval can only be used in an unevaluated context. "
27- " It's likely that your current usage is trying to extract a value from the function." );
23+ " It's likely that your current usage is trying to extract a "
24+ " value from the function." );
2825}
2926
3027_LIBCPP_END_NAMESPACE_STD
You can’t perform that action at this time.
0 commit comments