Author: joerg
Date: Mon Apr 29 14:52:08 2013
New Revision: 180727
URL: http://llvm.org/viewvc/llvm-project?rev=180727&view=rev
Log:
Use protected version of the malloc attribute in case source wants to
define malloc as macro.
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=180727&r1=180726&r2=180727&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Mon Apr 29 14:52:08 2013
@@ -423,7 +423,7 @@ template <unsigned> struct __static_asse
#endif
#ifdef __GNUC__
-#define _NOALIAS __attribute__((malloc))
+#define _NOALIAS __attribute__((__malloc__))
#else
#define _NOALIAS
#endif
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits