Author: ericwf Date: Wed Nov 2 00:08:58 2016 New Revision: 285788 URL: http://llvm.org/viewvc/llvm-project?rev=285788&view=rev Log: Fix GCC test failure caused by manually defining _LIBCPP_HAS_NO_VARIADICS
Modified: libcxx/trunk/include/type_traits Modified: libcxx/trunk/include/type_traits URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=285788&r1=285787&r2=285788&view=diff ============================================================================== --- libcxx/trunk/include/type_traits (original) +++ libcxx/trunk/include/type_traits Wed Nov 2 00:08:58 2016 @@ -520,7 +520,7 @@ using bool_constant = integral_constant< typedef _LIBCPP_BOOL_CONSTANT(true) true_type; typedef _LIBCPP_BOOL_CONSTANT(false) false_type; -#if !defined(_LIBCPP_HAS_NO_VARIADICS) +#if !defined(_LIBCPP_CXX03_LANG) // __lazy_and @@ -595,7 +595,7 @@ struct __or_<_B0, _B1, _B2, _Bn...> template<class _Tp> struct __not_ : conditional<_Tp::value, false_type, true_type>::type {}; -#endif // !defined(_LIBCPP_HAS_NO_VARIADICS) +#endif // !defined(_LIBCPP_CXX03_LANG) // is_const _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits