diff --git a/libcxx/include/__fwd/fstream.h b/libcxx/include/__fwd/fstream.h --- a/libcxx/include/__fwd/fstream.h +++ b/libcxx/include/__fwd/fstream.h @@ -19,34 +19,34 @@ _LIBCPP_BEGIN_NAMESPACE_STD template > - class _LIBCPP_TEMPLATE_VIS basic_filebuf; +class _LIBCPP_TEMPLATE_VIS basic_filebuf; template > - class _LIBCPP_TEMPLATE_VIS basic_ifstream; +class _LIBCPP_TEMPLATE_VIS basic_ifstream; template > - class _LIBCPP_TEMPLATE_VIS basic_ofstream; +class _LIBCPP_TEMPLATE_VIS basic_ofstream; template > - class _LIBCPP_TEMPLATE_VIS basic_fstream; +class _LIBCPP_TEMPLATE_VIS basic_fstream; -typedef basic_filebuf filebuf; -typedef basic_ifstream ifstream; -typedef basic_ofstream ofstream; -typedef basic_fstream fstream; +typedef basic_filebuf filebuf; +typedef basic_ifstream ifstream; +typedef basic_ofstream ofstream; +typedef basic_fstream fstream; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_filebuf wfilebuf; -typedef basic_ifstream wifstream; -typedef basic_ofstream wofstream; -typedef basic_fstream wfstream; +typedef basic_filebuf wfilebuf; +typedef basic_ifstream wifstream; +typedef basic_ofstream wofstream; +typedef basic_fstream wfstream; #endif template - class _LIBCPP_PREFERRED_NAME(filebuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfilebuf)) basic_filebuf; +class _LIBCPP_PREFERRED_NAME(filebuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfilebuf)) basic_filebuf; template - class _LIBCPP_PREFERRED_NAME(ifstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wifstream)) basic_ifstream; +class _LIBCPP_PREFERRED_NAME(ifstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wifstream)) basic_ifstream; template - class _LIBCPP_PREFERRED_NAME(ofstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wofstream)) basic_ofstream; +class _LIBCPP_PREFERRED_NAME(ofstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wofstream)) basic_ofstream; template - class _LIBCPP_PREFERRED_NAME(fstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfstream)) basic_fstream; +class _LIBCPP_PREFERRED_NAME(fstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfstream)) basic_fstream; _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/include/__fwd/ios.h b/libcxx/include/__fwd/ios.h --- a/libcxx/include/__fwd/ios.h +++ b/libcxx/include/__fwd/ios.h @@ -19,21 +19,21 @@ _LIBCPP_BEGIN_NAMESPACE_STD template > - class _LIBCPP_TEMPLATE_VIS basic_ios; +class _LIBCPP_TEMPLATE_VIS basic_ios; -typedef basic_ios ios; +typedef basic_ios ios; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_ios wios; +typedef basic_ios wios; #endif template - class _LIBCPP_PREFERRED_NAME(ios) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wios)) basic_ios; +class _LIBCPP_PREFERRED_NAME(ios) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wios)) basic_ios; #if defined(_NEWLIB_VERSION) // On newlib, off_t is 'long int' -typedef long int streamoff; // for char_traits in +typedef long int streamoff; // for char_traits in #else -typedef long long streamoff; // for char_traits in +typedef long long streamoff; // for char_traits in #endif _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/include/__fwd/istream.h b/libcxx/include/__fwd/istream.h --- a/libcxx/include/__fwd/istream.h +++ b/libcxx/include/__fwd/istream.h @@ -19,24 +19,24 @@ _LIBCPP_BEGIN_NAMESPACE_STD template > - class _LIBCPP_TEMPLATE_VIS basic_istream; +class _LIBCPP_TEMPLATE_VIS basic_istream; template > - class _LIBCPP_TEMPLATE_VIS basic_iostream; +class _LIBCPP_TEMPLATE_VIS basic_iostream; -typedef basic_istream istream; -typedef basic_iostream iostream; +typedef basic_istream istream; +typedef basic_iostream iostream; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_istream wistream; -typedef basic_iostream wiostream; +typedef basic_istream wistream; +typedef basic_iostream wiostream; #endif template - class _LIBCPP_PREFERRED_NAME(istream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistream)) basic_istream; +class _LIBCPP_PREFERRED_NAME(istream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistream)) basic_istream; template - class _LIBCPP_PREFERRED_NAME(iostream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wiostream)) basic_iostream; +class _LIBCPP_PREFERRED_NAME(iostream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wiostream)) basic_iostream; _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/include/__fwd/ostream.h b/libcxx/include/__fwd/ostream.h --- a/libcxx/include/__fwd/ostream.h +++ b/libcxx/include/__fwd/ostream.h @@ -19,16 +19,16 @@ _LIBCPP_BEGIN_NAMESPACE_STD template > - class _LIBCPP_TEMPLATE_VIS basic_ostream; +class _LIBCPP_TEMPLATE_VIS basic_ostream; -typedef basic_ostream ostream; +typedef basic_ostream ostream; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_ostream wostream; +typedef basic_ostream wostream; #endif template - class _LIBCPP_PREFERRED_NAME(ostream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostream)) basic_ostream; +class _LIBCPP_PREFERRED_NAME(ostream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostream)) basic_ostream; _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/include/__fwd/sstream.h b/libcxx/include/__fwd/sstream.h --- a/libcxx/include/__fwd/sstream.h +++ b/libcxx/include/__fwd/sstream.h @@ -18,40 +18,39 @@ _LIBCPP_BEGIN_NAMESPACE_STD -template , - class _Allocator = allocator<_CharT> > - class _LIBCPP_TEMPLATE_VIS basic_stringbuf; - -template , - class _Allocator = allocator<_CharT> > - class _LIBCPP_TEMPLATE_VIS basic_istringstream; -template , - class _Allocator = allocator<_CharT> > - class _LIBCPP_TEMPLATE_VIS basic_ostringstream; -template , - class _Allocator = allocator<_CharT> > - class _LIBCPP_TEMPLATE_VIS basic_stringstream; - -typedef basic_stringbuf stringbuf; -typedef basic_istringstream istringstream; -typedef basic_ostringstream ostringstream; -typedef basic_stringstream stringstream; +template , class _Allocator = allocator<_CharT> > +class _LIBCPP_TEMPLATE_VIS basic_stringbuf; + +template , class _Allocator = allocator<_CharT> > +class _LIBCPP_TEMPLATE_VIS basic_istringstream; +template , class _Allocator = allocator<_CharT> > +class _LIBCPP_TEMPLATE_VIS basic_ostringstream; +template , class _Allocator = allocator<_CharT> > +class _LIBCPP_TEMPLATE_VIS basic_stringstream; + +typedef basic_stringbuf stringbuf; +typedef basic_istringstream istringstream; +typedef basic_ostringstream ostringstream; +typedef basic_stringstream stringstream; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_stringbuf wstringbuf; +typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; -typedef basic_stringstream wstringstream; +typedef basic_stringstream wstringstream; #endif template - class _LIBCPP_PREFERRED_NAME(stringbuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringbuf)) basic_stringbuf; +class _LIBCPP_PREFERRED_NAME(stringbuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringbuf)) basic_stringbuf; template - class _LIBCPP_PREFERRED_NAME(istringstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistringstream)) basic_istringstream; +class _LIBCPP_PREFERRED_NAME(istringstream) + _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistringstream)) basic_istringstream; template - class _LIBCPP_PREFERRED_NAME(ostringstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostringstream)) basic_ostringstream; +class _LIBCPP_PREFERRED_NAME(ostringstream) + _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostringstream)) basic_ostringstream; template - class _LIBCPP_PREFERRED_NAME(stringstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringstream)) basic_stringstream; +class _LIBCPP_PREFERRED_NAME(stringstream) + _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringstream)) basic_stringstream; _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/include/__fwd/streambuf.h b/libcxx/include/__fwd/streambuf.h --- a/libcxx/include/__fwd/streambuf.h +++ b/libcxx/include/__fwd/streambuf.h @@ -19,16 +19,16 @@ _LIBCPP_BEGIN_NAMESPACE_STD template > - class _LIBCPP_TEMPLATE_VIS basic_streambuf; +class _LIBCPP_TEMPLATE_VIS basic_streambuf; -typedef basic_streambuf streambuf; +typedef basic_streambuf streambuf; #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_streambuf wstreambuf; +typedef basic_streambuf wstreambuf; #endif template - class _LIBCPP_PREFERRED_NAME(streambuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstreambuf)) basic_streambuf; +class _LIBCPP_PREFERRED_NAME(streambuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstreambuf)) basic_streambuf; _LIBCPP_END_NAMESPACE_STD diff --git a/libcxx/utils/data/ignore_format.txt b/libcxx/utils/data/ignore_format.txt --- a/libcxx/utils/data/ignore_format.txt +++ b/libcxx/utils/data/ignore_format.txt @@ -398,14 +398,8 @@ libcxx/include/__functional/unwrap_ref.h libcxx/include/__functional/weak_result_type.h libcxx/include/future -libcxx/include/__fwd/fstream.h libcxx/include/__fwd/get.h -libcxx/include/__fwd/ios.h -libcxx/include/__fwd/istream.h -libcxx/include/__fwd/ostream.h libcxx/include/__fwd/span.h -libcxx/include/__fwd/sstream.h -libcxx/include/__fwd/streambuf.h libcxx/include/__fwd/string_view.h libcxx/include/__fwd/subrange.h libcxx/include/__hash_table