mirror of https://github.com/microsoft/clang.git
Use the correct definition for memset.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e0afd9976
commit
cd6ab8cc43
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue