[cfe-commits] r170392 - /cfe/trunk/include/clang/Basic/Builtins.def

Bill Wendling isanbard at gmail.com
Mon Dec 17 16:34:49 PST 2012


Author: void
Date: Mon Dec 17 18:34:49 2012
New Revision: 170392

URL: http://llvm.org/viewvc/llvm-project?rev=170392&view=rev
Log:
Add an expected parameter for the size of the destination.
<rdar://problem/12622659>

Modified:
    cfe/trunk/include/clang/Basic/Builtins.def

Modified: cfe/trunk/include/clang/Basic/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=170392&r1=170391&r2=170392&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Mon Dec 17 18:34:49 2012
@@ -455,7 +455,7 @@
 // GCC Object size checking builtins
 BUILTIN(__builtin_object_size, "zvC*i", "n")
 BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "nF")
-BUILTIN(__builtin___memccpy_chk, "v*v*vC*iz", "nF")
+BUILTIN(__builtin___memccpy_chk, "v*v*vC*izz", "nF")
 BUILTIN(__builtin___memmove_chk, "v*v*vC*zz", "nF")
 BUILTIN(__builtin___mempcpy_chk, "v*v*vC*zz", "nF")
 BUILTIN(__builtin___memset_chk, "v*v*izz", "nF")





More information about the cfe-commits mailing list