[libcxx] r310157 - [libcxx] [test] Untabify stringstream.cons/string.pass.cpp. NFC.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 17:44:27 PDT 2017


Author: stl_msft
Date: Fri Aug  4 17:44:27 2017
New Revision: 310157

URL: http://llvm.org/viewvc/llvm-project?rev=310157&view=rev
Log:
[libcxx] [test] Untabify stringstream.cons/string.pass.cpp. NFC.

Modified:
    libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp

Modified: libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp?rev=310157&r1=310156&r2=310157&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp Fri Aug  4 17:44:27 2017
@@ -57,12 +57,12 @@ int main()
         assert(ss.str() == L"456 1236 ");
     }
     { // This is https://bugs.llvm.org/show_bug.cgi?id=33727
-		typedef std::basic_string   <char, std::char_traits<char>, NoDefaultAllocator<char> > S;
-		typedef std::basic_stringbuf<char, std::char_traits<char>, NoDefaultAllocator<char> > SB;
+        typedef std::basic_string   <char, std::char_traits<char>, NoDefaultAllocator<char> > S;
+        typedef std::basic_stringbuf<char, std::char_traits<char>, NoDefaultAllocator<char> > SB;
 
-		S s(NoDefaultAllocator<char>(1));
-		SB sb(s);
-	//	This test is not required by the standard, but *where else* could it get the allocator?
-		assert(sb.str().get_allocator() == s.get_allocator());
+        S s(NoDefaultAllocator<char>(1));
+        SB sb(s);
+    //  This test is not required by the standard, but *where else* could it get the allocator?
+        assert(sb.str().get_allocator() == s.get_allocator());
     }
 }




More information about the cfe-commits mailing list