summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-07 23:00:44 +0000
committerEric Christopher <echristo@apple.com>2010-04-07 23:00:44 +0000
commit75553d9de579a085f61e1e8dcdd17bea29090298 (patch)
tree2f167652212dc07b282e4321fbf63427e9e1a79f /clang
parente8b281c3c30eedddb580e75fe1218a883b87ee50 (diff)
downloadbcm5719-llvm-75553d9de579a085f61e1e8dcdd17bea29090298.tar.gz
bcm5719-llvm-75553d9de579a085f61e1e8dcdd17bea29090298.zip
Add support for stpncpy_chk.
llvm-svn: 100711
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/Builtins.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/Builtins.def b/clang/include/clang/Basic/Builtins.def
index 453f660c360..4ed339e5884 100644
--- a/clang/include/clang/Basic/Builtins.def
+++ b/clang/include/clang/Basic/Builtins.def
@@ -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:")
OpenPOWER on IntegriCloud