[cfe-commits] r152838 - /cfe/trunk/include/clang/Basic/Builtins.def

Bill Wendling isanbard at gmail.com
Thu Mar 15 14:18:47 PDT 2012


Author: void
Date: Thu Mar 15 16:18:47 2012
New Revision: 152838

URL: http://llvm.org/viewvc/llvm-project?rev=152838&view=rev
Log:
It was pointed out that a checking version of strdup isn't needed. So much for late-night hacking. :)

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=152838&r1=152837&r2=152838&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Thu Mar 15 16:18:47 2012
@@ -459,8 +459,6 @@
 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")





More information about the cfe-commits mailing list