[libcxx] r331576 - [libcxx] [test] Fix whitespace, NFC.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Fri May 4 18:40:27 PDT 2018


Author: stl_msft
Date: Fri May  4 18:40:27 2018
New Revision: 331576

URL: http://llvm.org/viewvc/llvm-project?rev=331576&view=rev
Log:
[libcxx] [test] Fix whitespace, NFC.

Strip trailing whitespace and untabify.

Modified:
    libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp

Modified: libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp?rev=331576&r1=331575&r2=331576&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp Fri May  4 18:40:27 2018
@@ -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());




More information about the cfe-commits mailing list