[libcxx] r337028 - wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 13 10:31:36 PDT 2018


Author: marshall
Date: Fri Jul 13 10:31:36 2018
New Revision: 337028

URL: http://llvm.org/viewvc/llvm-project?rev=337028&view=rev
Log:
wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)


Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=337028&r1=337027&r2=337028&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Fri Jul 13 10:31:36 2018
@@ -1024,7 +1024,7 @@ template <unsigned> struct __static_asse
 #endif
 
 #ifndef _LIBCPP_CONSTEXPR_IF_NODEBUG
-#if defined(_LIBCPP_DEBUG) || _LIBCPP_HAS_NO_CXX14_CONSTEXPR
+#if defined(_LIBCPP_DEBUG) || defined(_LIBCPP_HAS_NO_CXX14_CONSTEXPR)
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG
 #else
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr




More information about the cfe-commits mailing list