summaryrefslogtreecommitdiff
path: root/include/clang/Basic/BuiltinsAArch64.def
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-14 18:06:10 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-14 18:06:10 +0000
commit173a4cc51a416a938885358b9592e629728e7407 (patch)
treeddb4cd41297aecfdacdb535d8d56f3b142aaef45 /include/clang/Basic/BuiltinsAArch64.def
parent4a25a62bdfc18edbb475192d72076b450fd86fbf (diff)
downloadclang-173a4cc51a416a938885358b9592e629728e7407.tar.gz
clang-173a4cc51a416a938885358b9592e629728e7407.tar.bz2
clang-173a4cc51a416a938885358b9592e629728e7407.tar.xz
Really fix the declaration of __clear_cache.
When I tested gcc's behaviour before, I forgot the extern "C", so it would warn when the types *did* match. So in the end * __clear_cache takes two void pointers. * aarch64 was correct before. * libgcc's manual is wrong. * this patch fixes arm. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsAArch64.def')
-rw-r--r--include/clang/Basic/BuiltinsAArch64.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/BuiltinsAArch64.def b/include/clang/Basic/BuiltinsAArch64.def
index 939c080cc5..9e9f6d0875 100644
--- a/include/clang/Basic/BuiltinsAArch64.def
+++ b/include/clang/Basic/BuiltinsAArch64.def
@@ -15,4 +15,4 @@
// The format of this database matches clang/Basic/Builtins.def.
// In libgcc
-BUILTIN(__clear_cache, "vc*c*", "")
+BUILTIN(__clear_cache, "vv*v*", "")