[docs] Fix build-docs.sh
[llvm-project.git] / clang / www / libstdc++4.7-clang11.patch
blob3f0300725df3cc841c92979eab44b6da3bc8c245
1 Index: include/std/type_traits
2 ===================================================================
3 --- include/std/type_traits (revision 185724)
4 +++ include/std/type_traits (working copy)
5 @@ -1746,7 +1746,7 @@
7 template<typename _Tp, typename _Up>
8 struct common_type<_Tp, _Up>
9 - { typedef decltype(true ? declval<_Tp>() : declval<_Up>()) type; };
10 + { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
12 template<typename _Tp, typename _Up, typename... _Vp>
13 struct common_type<_Tp, _Up, _Vp...>