[libcxx-commits] [PATCH] D150912: [libc++][NFC] Move basic_ios extern instantiations into <ios>
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 23 08:58:46 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9334a8580151: [libc++][NFC] Move basic_ios extern instantiations into <ios> (authored by philnik).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150912/new/
https://reviews.llvm.org/D150912
Files:
libcxx/include/ios
libcxx/include/streambuf
Index: libcxx/include/streambuf
===================================================================
--- libcxx/include/streambuf
+++ libcxx/include/streambuf
@@ -490,11 +490,9 @@
}
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_streambuf<char>;
-extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<char>;
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_streambuf<wchar_t>;
-extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<wchar_t>;
#endif
_LIBCPP_END_NAMESPACE_STD
Index: libcxx/include/ios
===================================================================
--- libcxx/include/ios
+++ libcxx/include/ios
@@ -848,6 +848,12 @@
ios_base::set_rdbuf(__sb);
}
+extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<char>;
+
+#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
+extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<wchar_t>;
+#endif
+
_LIBCPP_HIDE_FROM_ABI inline
ios_base&
boolalpha(ios_base& __str)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150912.524747.patch
Type: text/x-patch
Size: 1041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230523/dffa4d76/attachment.bin>
More information about the libcxx-commits
mailing list