summaryrefslogtreecommitdiff
path: root/test/Headers
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-02-20 10:04:07 +0000
committerDaniel Jasper <djasper@google.com>2014-02-20 10:04:07 +0000
commit4b32b6871e2d433e1b71edc5a0dc4decc124b305 (patch)
tree29e24acbd1dbeb27d6b3dc73326b91b2b8080484 /test/Headers
parent45a0a2f6a29457b219a00b8f9f0dd1e60fa6aa9b (diff)
downloadclang-4b32b6871e2d433e1b71edc5a0dc4decc124b305.tar.gz
Change parameter type of _mm_prefetch to "const void *".
Otherwise, this is not backwards compatible to the existing macro and can break existing code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/mmprefetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Headers/mmprefetch.c b/test/Headers/mmprefetch.c
index 7452bea85d..ba4ebd9b22 100644
--- a/test/Headers/mmprefetch.c
+++ b/test/Headers/mmprefetch.c
@@ -3,7 +3,7 @@
#include <mmintrin.h>
// Check to make sure that _mm_prefetch survives redeclaration.
-void _mm_prefetch(char const*, int);
+void _mm_prefetch(void const*, int);
void f(char *a) {
_mm_prefetch(a, 0);