[libcxx] r189184 - G M: Improve support for compilers not supporting defaulted functions.
Howard Hinnant
hhinnant at apple.com
Sat Aug 24 14:31:37 PDT 2013
Author: hhinnant
Date: Sat Aug 24 16:31:37 2013
New Revision: 189184
URL: http://llvm.org/viewvc/llvm-project?rev=189184&view=rev
Log:
G M: Improve support for compilers not supporting defaulted functions.
Modified:
libcxx/trunk/include/__config
libcxx/trunk/include/system_error
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=189184&r1=189183&r2=189184&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Sat Aug 24 16:31:37 2013
@@ -415,6 +415,7 @@ using namespace _LIBCPP_NAMESPACE __attr
#define _LIBCPP_HAS_NO_CONSTEXPR
#define _LIBCPP_HAS_NO_UNICODE_CHARS
#define _LIBCPP_HAS_NO_DELETED_FUNCTIONS
+#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
#define __alignof__ __alignof
#define _LIBCPP_NORETURN __declspec(noreturn)
#define _ALIGNAS(x) __declspec(align(x))
Modified: libcxx/trunk/include/system_error
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/system_error?rev=189184&r1=189183&r2=189184&view=diff
==============================================================================
--- libcxx/trunk/include/system_error (original)
+++ libcxx/trunk/include/system_error Sat Aug 24 16:31:37 2013
@@ -371,7 +371,7 @@ public:
error_category() _NOEXCEPT;
#else
_LIBCPP_ALWAYS_INLINE
- _LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT = default;
+ _LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT _LIBCPP_DEFAULT;
#endif
private:
error_category(const error_category&);// = delete;
More information about the cfe-commits
mailing list