]> granicus.if.org Git - clang/commitdiff
Add support for stpncpy_chk.
authorEric Christopher <echristo@apple.com>
Wed, 7 Apr 2010 23:00:44 +0000 (23:00 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 7 Apr 2010 23:00:44 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100711 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.def

index 453f660c360a33fb820661389a86aab7df8c07e2..4ed339e58843c9d703091fbe31b1be8aa129514e 100644 (file)
@@ -335,6 +335,7 @@ BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF")
 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:")