[cfe-commits] r51908 - /cfe/trunk/include/clang/AST/Builtins.def
Steve Naroff
snaroff at apple.com
Tue Jun 3 10:37:43 PDT 2008
Author: snaroff
Date: Tue Jun 3 12:37:43 2008
New Revision: 51908
URL: http://llvm.org/viewvc/llvm-project?rev=51908&view=rev
Log:
Add a builtin. Fixes <rdar://problem/5982037> clang on xcode: error: incompatible operand types ('int' and 'char *').
Modified:
cfe/trunk/include/clang/AST/Builtins.def
Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=51908&r1=51907&r2=51908&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Tue Jun 3 12:37:43 2008
@@ -103,6 +103,7 @@
BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___memmove_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___mempcpy_chk, "v*v*vC*zz", "n")
+BUILTIN(__builtin___strncpy_chk, "cC*cC*cC*zz", "n")
BUILTIN(__builtin_expect, "iii" , "nc")
BUILTIN(__builtin_shufflevector, "v." , "nc")
More information about the cfe-commits
mailing list