mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337028 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1024,7 +1024,7 @@ template <unsigned> struct __static_assert_check {};
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _LIBCPP_CONSTEXPR_IF_NODEBUG
|
#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
|
#define _LIBCPP_CONSTEXPR_IF_NODEBUG
|
||||||
#else
|
#else
|
||||||
#define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr
|
#define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr
|
||||||
|
Reference in New Issue
Block a user