aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__fwd
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2024-04-16 20:18:34 +0200
committerGitHub <noreply@github.com>2024-04-16 20:18:34 +0200
commita75c9d059791f5d175f6c263d114d59e51b46120 (patch)
treec43d5071d11b0746fb3cd9d363b9aa4e9967fd6d /libcxx/include/__fwd
parent5462b27026dee886fb896980d6ad9487200a6cbe (diff)
downloadllvm-a75c9d059791f5d175f6c263d114d59e51b46120.zip
llvm-a75c9d059791f5d175f6c263d114d59e51b46120.tar.gz
llvm-a75c9d059791f5d175f6c263d114d59e51b46120.tar.bz2
[NFC][libc++] Moves ios_base's forward declaration. (#88027)
According to our synopsis it belonged to ios_fwd. This is not true in the C++11 version of the Standard, I did not validate against C++98. Moving this to ios's forward where it's declared in the standard allows removing a module quirk. An earlier removal of std::vectors forward declaration allows to remove all quirks for the iosfwd module part. Since iosfwd includes __fwd/ios.h this does not change the required includes.
Diffstat (limited to 'libcxx/include/__fwd')
-rw-r--r--libcxx/include/__fwd/ios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__fwd/ios.h b/libcxx/include/__fwd/ios.h
index 82c865d..4835070 100644
--- a/libcxx/include/__fwd/ios.h
+++ b/libcxx/include/__fwd/ios.h
@@ -18,6 +18,8 @@
_LIBCPP_BEGIN_NAMESPACE_STD
+class _LIBCPP_EXPORTED_FROM_ABI ios_base;
+
template <class _CharT, class _Traits = char_traits<_CharT> >
class _LIBCPP_TEMPLATE_VIS basic_ios;