forked from OSchip/llvm-project
[libc] Fix missing restricts
This commit is contained in:
parent
392da6428d
commit
5ee5acf7d9
|
@ -30,7 +30,7 @@ namespace x86 {
|
||||||
|
|
||||||
#ifdef __SSE2__
|
#ifdef __SSE2__
|
||||||
template <typename Base> struct Vector : public Base {
|
template <typename Base> struct Vector : public Base {
|
||||||
static void Copy(char *dst, const char *src) {
|
static void Copy(char *__restrict dst, const char *__restrict src) {
|
||||||
Base::Store(dst, Base::Load(src));
|
Base::Store(dst, Base::Load(src));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue