[libcxx-commits] [PATCH] D129949: [libcxx] Remove static inline and make use of _LIBCPP_HIDE_FROM_ABI in __support/xlocale/__nop_locale_mgmt.h header
Brad Smith via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 23 19:13:33 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGba1915028ecb: [libcxx] Remove static inline and make use of _LIBCPP_HIDE_FROM_ABI in… (authored by brad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129949/new/
https://reviews.llvm.org/D129949
Files:
libcxx/include/__support/xlocale/__nop_locale_mgmt.h
Index: libcxx/include/__support/xlocale/__nop_locale_mgmt.h
===================================================================
--- libcxx/include/__support/xlocale/__nop_locale_mgmt.h
+++ libcxx/include/__support/xlocale/__nop_locale_mgmt.h
@@ -16,18 +16,23 @@
// Patch over lack of extended locale support
typedef void *locale_t;
-static inline locale_t duplocale(locale_t) {
+
+inline _LIBCPP_HIDE_FROM_ABI locale_t
+duplocale(locale_t) {
return NULL;
}
-static inline void freelocale(locale_t) {
+inline _LIBCPP_HIDE_FROM_ABI void
+freelocale(locale_t) {
}
-static inline locale_t newlocale(int, const char *, locale_t) {
+inline _LIBCPP_HIDE_FROM_ABI locale_t
+newlocale(int, const char *, locale_t) {
return NULL;
}
-static inline locale_t uselocale(locale_t) {
+inline _LIBCPP_HIDE_FROM_ABI locale_t
+uselocale(locale_t) {
return NULL;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129949.447104.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220724/68a61508/attachment.bin>
More information about the libcxx-commits
mailing list