[cfe-commits] [libcxx] r171276 - /libcxx/trunk/include/locale
Chandler Carruth
chandlerc at gmail.com
Sun Dec 30 22:09:54 PST 2012
Author: chandlerc
Date: Mon Dec 31 00:09:54 2012
New Revision: 171276
URL: http://llvm.org/viewvc/llvm-project?rev=171276&view=rev
Log:
Don't mark variadic functions as always inline -- they cannot in fact be
inlined.
Patch by Saleem Abdulrasool, reviewed by Michael Spencer and Richard Smith.
Modified:
libcxx/trunk/include/locale
Modified: libcxx/trunk/include/locale
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/locale?rev=171276&r1=171275&r2=171276&view=diff
==============================================================================
--- libcxx/trunk/include/locale (original)
+++ libcxx/trunk/include/locale Mon Dec 31 00:09:54 2012
@@ -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);
More information about the cfe-commits
mailing list