[cfe-commits] r136188 - /cfe/trunk/test/CodeGen/2004-02-13-Memset.c

Eric Christopher echristo at apple.com
Tue Jul 26 16:44:22 PDT 2011


Author: echristo
Date: Tue Jul 26 18:44:22 2011
New Revision: 136188

URL: http://llvm.org/viewvc/llvm-project?rev=136188&view=rev
Log:
Use the correct definition for memset.

Modified:
    cfe/trunk/test/CodeGen/2004-02-13-Memset.c

Modified: cfe/trunk/test/CodeGen/2004-02-13-Memset.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2004-02-13-Memset.c?rev=136188&r1=136187&r2=136188&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2004-02-13-Memset.c (original)
+++ cfe/trunk/test/CodeGen/2004-02-13-Memset.c Tue Jul 26 18:44:22 2011
@@ -1,11 +1,8 @@
 // RUN: %clang_cc1  %s -emit-llvm -o - | grep llvm.memset | count 3
 
-#ifndef memset
-void *memset(void*, int, unsigned long);
-#endif
-#ifndef bzero
-void bzero(void*, unsigned long);
-#endif
+typedef __SIZE_TYPE__ size_t;
+void *memset(void*, int, size_t);
+void bzero(void*, size_t);
 
 void test(int* X, char *Y) {
   // CHECK: call i8* llvm.memset





More information about the cfe-commits mailing list