[cfe-commits] [PATCH] [libcxx][locale] do not mark variadic functions as always inline

Saleem Abdulrasool compnerd at compnerd.org
Thu Dec 27 20:30:13 PST 2012


Hi Bigcheese,

http://llvm-reviews.chandlerc.com/D241

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D241?vs=601&id=604#toc

Files:
  include/locale

Index: include/locale
===================================================================
--- include/locale
+++ include/locale
@@ -354,7 +354,7 @@
 #endif
 }
 
-_LIBCPP_ALWAYS_INLINE inline
+inline
 int __sprintf_l(char *__s, locale_t __l, const char *__format, ...) {
   va_list __va;
   va_start(__va, __format);
@@ -368,7 +368,7 @@
   return __res;
 }
 
-_LIBCPP_ALWAYS_INLINE inline
+inline
 int __snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) {
   va_list __va;
   va_start(__va, __format);
@@ -382,7 +382,7 @@
   return __res;
 }
 
-_LIBCPP_ALWAYS_INLINE inline
+inline
 int __asprintf_l(char **__s, locale_t __l, const char *__format, ...) {
   va_list __va;
   va_start(__va, __format);
@@ -396,7 +396,7 @@
   return __res;
 }
 
-_LIBCPP_ALWAYS_INLINE inline
+inline
 int __sscanf_l(const char *__s, locale_t __l, const char *__format, ...) {
   va_list __va;
   va_start(__va, __format);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D241.3.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121227/d6e0896a/attachment.bin>


More information about the cfe-commits mailing list