summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2018-05-05 01:40:27 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2018-05-05 01:40:27 +0000
commit00d83601b47dab3fb2893db2647964b568a045e3 (patch)
tree5f285e848c0d20547c39eab682bba30f583b723d /libcxx/test/std/iterators
parenteb0fa1c054e2a23cefbaaf8881b52c1383743c08 (diff)
downloadbcm5719-llvm-00d83601b47dab3fb2893db2647964b568a045e3.tar.gz
bcm5719-llvm-00d83601b47dab3fb2893db2647964b568a045e3.zip
[libcxx] [test] Fix whitespace, NFC.
Strip trailing whitespace and untabify. llvm-svn: 331576
Diffstat (limited to 'libcxx/test/std/iterators')
-rw-r--r--libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp b/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
index 5cc9cf92872..64997d382dd 100644
--- a/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
@@ -19,23 +19,23 @@
template <typename Char, typename Traits = std::char_traits<Char> >
struct my_streambuf : public std::basic_streambuf<Char,Traits> {
- typedef typename std::basic_streambuf<Char,Traits>::int_type int_type;
- typedef typename std::basic_streambuf<Char,Traits>::char_type char_type;
-
- my_streambuf() {}
- int_type sputc(char_type) { return Traits::eof(); }
- };
+ typedef typename std::basic_streambuf<Char,Traits>::int_type int_type;
+ typedef typename std::basic_streambuf<Char,Traits>::char_type char_type;
+
+ my_streambuf() {}
+ int_type sputc(char_type) { return Traits::eof(); }
+ };
int main()
{
{
- my_streambuf<char> buf;
+ my_streambuf<char> buf;
std::ostreambuf_iterator<char> i(&buf);
i = 'a';
assert(i.failed());
}
{
- my_streambuf<wchar_t> buf;
+ my_streambuf<wchar_t> buf;
std::ostreambuf_iterator<wchar_t> i(&buf);
i = L'a';
assert(i.failed());
OpenPOWER on IntegriCloud