Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,11 +33,11 @@ struct test_iostream
|
||||
typedef std::basic_iostream<CharT> base;
|
||||
test_iostream(testbuf<CharT>* sb) : base(sb) {}
|
||||
|
||||
test_iostream& operator=(test_iostream&& s)
|
||||
test_iostream& operator=(test_iostream&& s)
|
||||
{base::operator=(std::move(s)); return *this;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -88,5 +88,5 @@ int main()
|
||||
assert(is2.precision() == 6);
|
||||
assert(is2.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
||||
@@ -33,11 +33,11 @@ struct test_iostream
|
||||
typedef std::basic_iostream<CharT> base;
|
||||
test_iostream(testbuf<CharT>* sb) : base(sb) {}
|
||||
|
||||
test_iostream(test_iostream&& s)
|
||||
test_iostream(test_iostream&& s)
|
||||
: base(std::move(s)) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -74,5 +74,5 @@ int main()
|
||||
assert(is.precision() == 6);
|
||||
assert(is.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class charT, class traits>
|
||||
// template<class charT, class traits>
|
||||
// basic_istream<charT,traits>& operator>>(basic_istream<charT,traits>&& in, charT& c);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class traits>
|
||||
// template<class traits>
|
||||
// basic_istream<char,traits>& operator>>(basic_istream<char,traits>&& in, signed char& c);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class traits>
|
||||
// template<class traits>
|
||||
// basic_istream<char,traits>& operator>>(basic_istream<char,traits>&& in, signed char* s);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class traits>
|
||||
// template<class traits>
|
||||
// basic_istream<char,traits>& operator>>(basic_istream<char,traits>&& in, unsigned char& c);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class traits>
|
||||
// template<class traits>
|
||||
// basic_istream<char,traits>& operator>>(basic_istream<char,traits>&& in, unsigned char* s);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template<class charT, class traits>
|
||||
// template<class charT, class traits>
|
||||
// basic_istream<charT,traits>& operator>>(basic_istream<charT,traits>&& in, charT* s);
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template <class charT, class traits>
|
||||
// template <class charT, class traits>
|
||||
// basic_istream<charT,traits>&
|
||||
// ws(basic_istream<charT,traits>& is);
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// template <class charT, class traits, class T>
|
||||
// basic_istream<charT, traits>&
|
||||
// template <class charT, class traits, class T>
|
||||
// basic_istream<charT, traits>&
|
||||
// operator>>(basic_istream<charT, traits>&& is, T& x);
|
||||
|
||||
#include <istream>
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
CharT* egptr() const {return base::egptr();}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -59,5 +59,5 @@ int main()
|
||||
std::wistream(&sb) >> i;
|
||||
assert(i == 123);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb);
|
||||
// basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb);
|
||||
|
||||
#include <istream>
|
||||
#include <cassert>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb,
|
||||
// char_type delim);
|
||||
// basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb,
|
||||
// char_type delim);
|
||||
|
||||
#include <istream>
|
||||
#include <cassert>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
// <istream>
|
||||
|
||||
// basic_istream<charT,traits>&
|
||||
// basic_istream<charT,traits>&
|
||||
// ignore(streamsize n = 1, int_type delim = traits::eof());
|
||||
|
||||
#include <istream>
|
||||
|
||||
@@ -37,7 +37,7 @@ struct test_istream
|
||||
{base::operator=(std::move(s)); return *this;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -88,5 +88,5 @@ int main()
|
||||
assert(is2.precision() == 6);
|
||||
assert(is2.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ struct test_istream
|
||||
: base(std::move(s)) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -74,5 +74,5 @@ int main()
|
||||
assert(is.precision() == 6);
|
||||
assert(is.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user