[cfe-commits] r100711 - /cfe/trunk/include/clang/Basic/Builtins.def
Eric Christopher
echristo at apple.com
Wed Apr 7 16:00:44 PDT 2010
Author: echristo
Date: Wed Apr 7 18:00:44 2010
New Revision: 100711
URL: http://llvm.org/viewvc/llvm-project?rev=100711&view=rev
Log:
Add support for stpncpy_chk.
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=100711&r1=100710&r2=100711&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Wed Apr 7 18:00:44 2010
@@ -335,6 +335,7 @@
BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF")
BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")
BUILTIN(__builtin___strncpy_chk, "c*c*cC*zz", "nF")
+BUILTIN(__builtin___stpncpy_chk, "c*c*cC*zz", "nF")
BUILTIN(__builtin___snprintf_chk, "ic*zizcC*.", "Fp:4:")
BUILTIN(__builtin___sprintf_chk, "ic*izcC*.", "Fp:3:")
BUILTIN(__builtin___vsnprintf_chk, "ic*zizcC*a", "FP:4:")
More information about the cfe-commits
mailing list