From: Bill Wendling Date: Thu, 15 Mar 2012 21:18:47 +0000 (+0000) Subject: It was pointed out that a checking version of strdup isn't needed. So much for late... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aea3ece6d2ef7810d3c6296d7f46dc453caf40e3;p=clang It was pointed out that a checking version of strdup isn't needed. So much for late-night hacking. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152838 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Builtins.def b/include/clang/Basic/Builtins.def index fdc27a793f..f811316d57 100644 --- a/include/clang/Basic/Builtins.def +++ b/include/clang/Basic/Builtins.def @@ -459,8 +459,6 @@ BUILTIN(__builtin___memset_chk, "v*v*izz", "nF") BUILTIN(__builtin___stpcpy_chk, "c*c*cC*z", "nF") BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF") BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF") -BUILTIN(__builtin___strdup_chk, "c*cC*z", "nF") -BUILTIN(__builtin___strndup_chk, "c*cC*zz", "nF") BUILTIN(__builtin___strlcat_chk, "c*c*cC*zz", "nF") BUILTIN(__builtin___strlcpy_chk, "c*c*cC*zz", "nF") BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")