[libcxx] r238880 - Revert changes inadvertantly committed

Marshall Clow mclow.lists at gmail.com
Tue Jun 2 15:26:29 PDT 2015


Author: marshall
Date: Tue Jun  2 17:26:29 2015
New Revision: 238880

URL: http://llvm.org/viewvc/llvm-project?rev=238880&view=rev
Log:
Revert changes inadvertantly committed

Modified:
    libcxx/trunk/include/cstring

Modified: libcxx/trunk/include/cstring
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cstring?rev=238880&r1=238879&r2=238880&view=diff
==============================================================================
--- libcxx/trunk/include/cstring (original)
+++ libcxx/trunk/include/cstring Tue Jun  2 17:26:29 2015
@@ -67,34 +67,15 @@ size_t strlen(const char* s);
 _LIBCPP_BEGIN_NAMESPACE_STD
 
 using ::size_t;
-
-// using ::memcpy;
-inline _LIBCPP_INLINE_VISIBILITY 
-void* memcpy(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcpy(__s1, __s2, __n); }
-
-// using ::memmove;
-inline _LIBCPP_INLINE_VISIBILITY 
-void* memmove(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memmove(__s1, __s2, __n); }
-
+using ::memcpy;
+using ::memmove;
 using ::strcpy;
 using ::strncpy;
 using ::strcat;
 using ::strncat;
-
-// using ::memcmp;
-inline _LIBCPP_INLINE_VISIBILITY 
-int memcmp(const void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcmp(__s1, __s2, __n); }
-
+using ::memcmp;
 using ::strcmp;
-
-// using ::strncmp;
-inline _LIBCPP_INLINE_VISIBILITY 
-int strncmp(const char* __s1, const char* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcmp(__s1, __s2, __n); }
-
+using ::strncmp;
 using ::strcoll;
 using ::strxfrm;
 





More information about the cfe-commits mailing list