[libcxx] r276273 - Again, w/o the tabs

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 06:19:37 PDT 2016


Author: marshall
Date: Thu Jul 21 08:19:36 2016
New Revision: 276273

URL: http://llvm.org/viewvc/llvm-project?rev=276273&view=rev
Log:
Again, w/o the tabs

Modified:
    libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp?rev=276273&r1=276272&r2=276273&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/substr.pass.cpp Thu Jul 21 08:19:36 2016
@@ -22,7 +22,7 @@
 
 template<typename CharT>
 void test1(std::basic_string_view<CharT> sv, size_t n, size_t pos) {
-	std::basic_string_view<CharT> sv1;
+    std::basic_string_view<CharT> sv1;
 #ifdef TEST_HAS_NO_EXCEPTIONS
     if (pos > sv.size())
         return ;  // would throw if exceptions were enabled
@@ -37,10 +37,10 @@ void test1(std::basic_string_view<CharT>
         return ;
     }
 #endif
-	const size_t rlen = std::min(n, sv.size() - pos);
-	assert (sv1.size() == rlen);
-	for (size_t i = 0; i <= rlen; ++i)
-		assert(sv[pos+i] == sv1[i]);
+    const size_t rlen = std::min(n, sv.size() - pos);
+    assert (sv1.size() == rlen);
+    for (size_t i = 0; i <= rlen; ++i)
+        assert(sv[pos+i] == sv1[i]);
 }
 
 




More information about the cfe-commits mailing list