mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Fix test failure I introduced
llvm-svn: 298438
This commit is contained in:
@@ -1947,13 +1947,6 @@ template <class _Tp> using make_unsigned_t = typename make_unsigned<_Tp>::type;
|
||||
|
||||
#ifdef _LIBCPP_HAS_NO_VARIADICS
|
||||
|
||||
template <>
|
||||
struct _LIBCPP_TEMPLATE_VIS common_type<void, void, void>
|
||||
{
|
||||
public:
|
||||
typedef void type;
|
||||
};
|
||||
|
||||
template <class _Tp, class _Up = void, class _Vp = void>
|
||||
struct _LIBCPP_TEMPLATE_VIS common_type
|
||||
{
|
||||
@@ -1961,6 +1954,13 @@ public:
|
||||
typedef typename common_type<typename common_type<_Tp, _Up>::type, _Vp>::type type;
|
||||
};
|
||||
|
||||
template <>
|
||||
struct _LIBCPP_TEMPLATE_VIS common_type<void, void, void>
|
||||
{
|
||||
public:
|
||||
typedef void type;
|
||||
};
|
||||
|
||||
template <class _Tp>
|
||||
struct _LIBCPP_TEMPLATE_VIS common_type<_Tp, void, void>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user