[libcxx] r187906 - War on tabs

Howard Hinnant hhinnant at apple.com
Wed Aug 7 12:39:49 PDT 2013


Author: hhinnant
Date: Wed Aug  7 14:39:48 2013
New Revision: 187906

URL: http://llvm.org/viewvc/llvm-project?rev=187906&view=rev
Log:
War on tabs

Modified:
    libcxx/trunk/include/chrono
    libcxx/trunk/include/string
    libcxx/trunk/test/containers/sequences/list/db_iterators_9.pass.cpp
    libcxx/trunk/test/numerics/complex.number/cmplx.over/imag.pass.cpp
    libcxx/trunk/test/numerics/complex.number/cmplx.over/real.pass.cpp
    libcxx/trunk/test/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp
    libcxx/trunk/test/strings/basic.string.literals/literal.pass.cpp
    libcxx/trunk/test/strings/basic.string.literals/literal1.fail.cpp
    libcxx/trunk/test/strings/basic.string.literals/literal1.pass.cpp
    libcxx/trunk/test/strings/basic.string.literals/literal2.fail.cpp
    libcxx/trunk/test/strings/basic.string.literals/literal2.pass.cpp
    libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp
    libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp
    libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type2.fail.cpp
    libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type4.fail.cpp
    libcxx/trunk/test/utilities/utility/forward/forward.pass.cpp
    libcxx/trunk/test/utilities/utility/forward/move_if_noexcept.pass.cpp
    libcxx/trunk/test/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp
    libcxx/trunk/test/utilities/utility/pairs/pairs.pair/default.pass.cpp

Modified: libcxx/trunk/include/chrono
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/chrono?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/include/chrono (original)
+++ libcxx/trunk/include/chrono Wed Aug  7 14:39:48 2013
@@ -920,70 +920,70 @@ namespace literals
   inline namespace chrono_literals
   {
 
-	constexpr chrono::hours operator"" h(unsigned long long __h)
-	{
-		return chrono::hours(static_cast<chrono::hours::rep>(__h));
-	}
-
-	constexpr chrono::duration<long double, ratio<3600,1>> operator"" h(long double __h)
-	{
-		return chrono::duration<long double, ratio<3600,1>>(__h);
-	}
-
-
-	constexpr chrono::minutes operator"" min(unsigned long long __m)
-	{
-		return chrono::minutes(static_cast<chrono::minutes::rep>(__m));
-	}
-
-	constexpr chrono::duration<long double, ratio<60,1>> operator"" min(long double __m)
-	{
-		return chrono::duration<long double, ratio<60,1>> (__m);
-	}
-
-
-	constexpr chrono::seconds operator"" s(unsigned long long __s)
-	{
-		return chrono::seconds(static_cast<chrono::seconds::rep>(__s));
-	}
-
-	constexpr chrono::duration<long double> operator"" s(long double __s)
-	{
-		return chrono::duration<long double> (__s);
-	}
-
-
-	constexpr chrono::milliseconds operator"" ms(unsigned long long __ms)
-	{
-		return chrono::milliseconds(static_cast<chrono::milliseconds::rep>(__ms));
-	}
-
-	constexpr chrono::duration<long double, milli> operator"" ms(long double __ms)
-	{
-		return chrono::duration<long double, milli>(__ms);
-	}
-
-
-	constexpr chrono::microseconds operator"" us(unsigned long long __us)
-	{
-		return chrono::microseconds(static_cast<chrono::microseconds::rep>(__us));
-	}
-
-	constexpr chrono::duration<long double, micro> operator"" us(long double __us)
-	{
-		return chrono::duration<long double, micro> (__us);
-	}
-	
-
-	constexpr chrono::nanoseconds operator"" ns(unsigned long long __ns)
-	{
-		return chrono::nanoseconds(static_cast<chrono::nanoseconds::rep>(__ns));
-	}
-
-	constexpr chrono::duration<long double, nano> operator"" ns(long double __ns)
-	{
-		return chrono::duration<long double, nano> (__ns);
-	}
+    constexpr chrono::hours operator"" h(unsigned long long __h)
+    {
+        return chrono::hours(static_cast<chrono::hours::rep>(__h));
+    }
+
+    constexpr chrono::duration<long double, ratio<3600,1>> operator"" h(long double __h)
+    {
+        return chrono::duration<long double, ratio<3600,1>>(__h);
+    }
+
+
+    constexpr chrono::minutes operator"" min(unsigned long long __m)
+    {
+        return chrono::minutes(static_cast<chrono::minutes::rep>(__m));
+    }
+
+    constexpr chrono::duration<long double, ratio<60,1>> operator"" min(long double __m)
+    {
+        return chrono::duration<long double, ratio<60,1>> (__m);
+    }
+
+
+    constexpr chrono::seconds operator"" s(unsigned long long __s)
+    {
+        return chrono::seconds(static_cast<chrono::seconds::rep>(__s));
+    }
+
+    constexpr chrono::duration<long double> operator"" s(long double __s)
+    {
+        return chrono::duration<long double> (__s);
+    }
+
+
+    constexpr chrono::milliseconds operator"" ms(unsigned long long __ms)
+    {
+        return chrono::milliseconds(static_cast<chrono::milliseconds::rep>(__ms));
+    }
+
+    constexpr chrono::duration<long double, milli> operator"" ms(long double __ms)
+    {
+        return chrono::duration<long double, milli>(__ms);
+    }
+
+
+    constexpr chrono::microseconds operator"" us(unsigned long long __us)
+    {
+        return chrono::microseconds(static_cast<chrono::microseconds::rep>(__us));
+    }
+
+    constexpr chrono::duration<long double, micro> operator"" us(long double __us)
+    {
+        return chrono::duration<long double, micro> (__us);
+    }
+    
+
+    constexpr chrono::nanoseconds operator"" ns(unsigned long long __ns)
+    {
+        return chrono::nanoseconds(static_cast<chrono::nanoseconds::rep>(__ns));
+    }
+
+    constexpr chrono::duration<long double, nano> operator"" ns(long double __ns)
+    {
+        return chrono::duration<long double, nano> (__ns);
+    }
 
 }}
 #endif

Modified: libcxx/trunk/include/string
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/include/string (original)
+++ libcxx/trunk/include/string Wed Aug  7 14:39:48 2013
@@ -4111,29 +4111,29 @@ namespace literals
 {
   inline namespace string_literals
   {
-	inline _LIBCPP_INLINE_VISIBILITY
-	basic_string<char> operator "" s( const char *__str, size_t __len )
-	{
-		return basic_string<char> (__str, __len);
-	}
+    inline _LIBCPP_INLINE_VISIBILITY
+    basic_string<char> operator "" s( const char *__str, size_t __len )
+    {
+        return basic_string<char> (__str, __len);
+    }
 
-	inline _LIBCPP_INLINE_VISIBILITY
-	basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len )
-	{
-		return basic_string<wchar_t> (__str, __len);
-	}
+    inline _LIBCPP_INLINE_VISIBILITY
+    basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len )
+    {
+        return basic_string<wchar_t> (__str, __len);
+    }
 
-	inline _LIBCPP_INLINE_VISIBILITY
-	basic_string<char16_t> operator "" s( const char16_t *__str, size_t __len )
-	{
-		return basic_string<char16_t> (__str, __len);
-	}
+    inline _LIBCPP_INLINE_VISIBILITY
+    basic_string<char16_t> operator "" s( const char16_t *__str, size_t __len )
+    {
+        return basic_string<char16_t> (__str, __len);
+    }
 
-	inline _LIBCPP_INLINE_VISIBILITY
-	basic_string<char32_t> operator "" s( const char32_t *__str, size_t __len )
-	{
-		return basic_string<char32_t> (__str, __len);
-	}
+    inline _LIBCPP_INLINE_VISIBILITY
+    basic_string<char32_t> operator "" s( const char32_t *__str, size_t __len )
+    {
+        return basic_string<char32_t> (__str, __len);
+    }
   }
 }
 #endif

Modified: libcxx/trunk/test/containers/sequences/list/db_iterators_9.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/sequences/list/db_iterators_9.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/containers/sequences/list/db_iterators_9.pass.cpp (original)
+++ libcxx/trunk/test/containers/sequences/list/db_iterators_9.pass.cpp Wed Aug  7 14:39:48 2013
@@ -27,7 +27,7 @@ int main()
 {
 #if _LIBCPP_STD_VER > 11
     {
-	unsigned lib_asserts;
+    unsigned lib_asserts;
 
     typedef S T;
     typedef std::list<T> C;

Modified: libcxx/trunk/test/numerics/complex.number/cmplx.over/imag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/complex.number/cmplx.over/imag.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/complex.number/cmplx.over/imag.pass.cpp (original)
+++ libcxx/trunk/test/numerics/complex.number/cmplx.over/imag.pass.cpp Wed Aug  7 14:39:48 2013
@@ -28,8 +28,8 @@ test(typename std::enable_if<std::is_int
 #if _LIBCPP_STD_VER > 11
     constexpr T val {x};
     static_assert(std::imag(val) == 0, "");
-	constexpr std::complex<T> t{val, val};
-	static_assert(t.imag() == x, "" );
+    constexpr std::complex<T> t{val, val};
+    static_assert(t.imag() == x, "" );
 #endif    
 }
 
@@ -42,8 +42,8 @@ test(typename std::enable_if<!std::is_in
 #if _LIBCPP_STD_VER > 11
     constexpr T val {x};
     static_assert(std::imag(val) == 0, "");
-	constexpr std::complex<T> t{val, val};
-	static_assert(t.imag() == x, "" );
+    constexpr std::complex<T> t{val, val};
+    static_assert(t.imag() == x, "" );
 #endif    
 }
 

Modified: libcxx/trunk/test/numerics/complex.number/cmplx.over/real.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/complex.number/cmplx.over/real.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/complex.number/cmplx.over/real.pass.cpp (original)
+++ libcxx/trunk/test/numerics/complex.number/cmplx.over/real.pass.cpp Wed Aug  7 14:39:48 2013
@@ -28,8 +28,8 @@ test(typename std::enable_if<std::is_int
 #if _LIBCPP_STD_VER > 11
     constexpr T val {x};
     static_assert(std::real(val) == val, "");
-	constexpr std::complex<T> t{val, val};
-	static_assert(t.real() == x, "" );
+    constexpr std::complex<T> t{val, val};
+    static_assert(t.real() == x, "" );
 #endif    
 }
 
@@ -42,8 +42,8 @@ test(typename std::enable_if<!std::is_in
 #if _LIBCPP_STD_VER > 11
     constexpr T val {x};
     static_assert(std::real(val) == val, "");
-	constexpr std::complex<T> t{val, val};
-	static_assert(t.real() == x, "" );
+    constexpr std::complex<T> t{val, val};
+    static_assert(t.real() == x, "" );
 #endif    
 }
 

Modified: libcxx/trunk/test/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp (original)
+++ libcxx/trunk/test/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp Wed Aug  7 14:39:48 2013
@@ -50,8 +50,8 @@ test()
     assert(!(lhs != rhs));
     }
 
-	test_constexpr<T> ();
-	}
+    test_constexpr<T> ();
+    }
 
 int main()
 {

Modified: libcxx/trunk/test/strings/basic.string.literals/literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/strings/basic.string.literals/literal.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/strings/basic.string.literals/literal.pass.cpp (original)
+++ libcxx/trunk/test/strings/basic.string.literals/literal.pass.cpp Wed Aug  7 14:39:48 2013
@@ -15,33 +15,33 @@ int main()
 #if _LIBCPP_STD_VER > 11 
     using namespace std::literals::string_literals;
 
-	static_assert ( std::is_same<decltype(   "Hi"s), std::string>::value, "" );
-	static_assert ( std::is_same<decltype( u8"Hi"s), std::string>::value, "" );
-	static_assert ( std::is_same<decltype(  L"Hi"s), std::wstring>::value, "" );
-	static_assert ( std::is_same<decltype(  u"Hi"s), std::u16string>::value, "" );
-	static_assert ( std::is_same<decltype(  U"Hi"s), std::u32string>::value, "" );
-	
-	std::string foo;
-	std::wstring Lfoo;
-	std::u16string ufoo;
-	std::u32string Ufoo;
-	
-	foo  =   ""s; 	assert( foo.size() == 0);
-	foo  = u8""s; 	assert( foo.size() == 0);
-	Lfoo =  L""s; 	assert(Lfoo.size() == 0);
-	ufoo =  u""s; 	assert(ufoo.size() == 0);
-	Ufoo =  U""s; 	assert(Ufoo.size() == 0);
-	
-	foo  =   " "s; 	assert( foo.size() == 1);
-	foo  = u8" "s; 	assert( foo.size() == 1);
-	Lfoo =  L" "s; 	assert(Lfoo.size() == 1);
-	ufoo =  u" "s; 	assert(ufoo.size() == 1);
-	Ufoo =  U" "s; 	assert(Ufoo.size() == 1);
-	
-	foo  =   "ABC"s; 	assert( foo ==   "ABC");   assert( foo == std::string   (  "ABC"));
-	foo  = u8"ABC"s; 	assert( foo == u8"ABC");   assert( foo == std::string   (u8"ABC"));
-	Lfoo =  L"ABC"s; 	assert(Lfoo ==  L"ABC");   assert(Lfoo == std::wstring  ( L"ABC"));
-	ufoo =  u"ABC"s; 	assert(ufoo ==  u"ABC");   assert(ufoo == std::u16string( u"ABC"));
-	Ufoo =  U"ABC"s; 	assert(Ufoo ==  U"ABC");   assert(Ufoo == std::u32string( U"ABC"));
+    static_assert ( std::is_same<decltype(   "Hi"s), std::string>::value, "" );
+    static_assert ( std::is_same<decltype( u8"Hi"s), std::string>::value, "" );
+    static_assert ( std::is_same<decltype(  L"Hi"s), std::wstring>::value, "" );
+    static_assert ( std::is_same<decltype(  u"Hi"s), std::u16string>::value, "" );
+    static_assert ( std::is_same<decltype(  U"Hi"s), std::u32string>::value, "" );
+    
+    std::string foo;
+    std::wstring Lfoo;
+    std::u16string ufoo;
+    std::u32string Ufoo;
+    
+    foo  =   ""s;     assert( foo.size() == 0);
+    foo  = u8""s;     assert( foo.size() == 0);
+    Lfoo =  L""s;     assert(Lfoo.size() == 0);
+    ufoo =  u""s;     assert(ufoo.size() == 0);
+    Ufoo =  U""s;     assert(Ufoo.size() == 0);
+    
+    foo  =   " "s;     assert( foo.size() == 1);
+    foo  = u8" "s;     assert( foo.size() == 1);
+    Lfoo =  L" "s;     assert(Lfoo.size() == 1);
+    ufoo =  u" "s;     assert(ufoo.size() == 1);
+    Ufoo =  U" "s;     assert(Ufoo.size() == 1);
+    
+    foo  =   "ABC"s;     assert( foo ==   "ABC");   assert( foo == std::string   (  "ABC"));
+    foo  = u8"ABC"s;     assert( foo == u8"ABC");   assert( foo == std::string   (u8"ABC"));
+    Lfoo =  L"ABC"s;     assert(Lfoo ==  L"ABC");   assert(Lfoo == std::wstring  ( L"ABC"));
+    ufoo =  u"ABC"s;     assert(ufoo ==  u"ABC");   assert(ufoo == std::u16string( u"ABC"));
+    Ufoo =  U"ABC"s;     assert(Ufoo ==  U"ABC");   assert(Ufoo == std::u32string( U"ABC"));
 #endif
 }

Modified: libcxx/trunk/test/strings/basic.string.literals/literal1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/strings/basic.string.literals/literal1.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/strings/basic.string.literals/literal1.fail.cpp (original)
+++ libcxx/trunk/test/strings/basic.string.literals/literal1.fail.cpp Wed Aug  7 14:39:48 2013
@@ -15,7 +15,7 @@ int main()
 #if _LIBCPP_STD_VER > 11 
     using namespace std;
 
-	std::string foo  =   ""s;  // should fail w/conversion operator not found
+    std::string foo  =   ""s;  // should fail w/conversion operator not found
 #else
 #error
 #endif

Modified: libcxx/trunk/test/strings/basic.string.literals/literal1.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/strings/basic.string.literals/literal1.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/strings/basic.string.literals/literal1.pass.cpp (original)
+++ libcxx/trunk/test/strings/basic.string.literals/literal1.pass.cpp Wed Aug  7 14:39:48 2013
@@ -15,6 +15,6 @@ int main()
 #if _LIBCPP_STD_VER > 11 
     using namespace std::literals;
 
-	std::string foo  =   ""s;
+    std::string foo  =   ""s;
 #endif
 }

Modified: libcxx/trunk/test/strings/basic.string.literals/literal2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/strings/basic.string.literals/literal2.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/strings/basic.string.literals/literal2.fail.cpp (original)
+++ libcxx/trunk/test/strings/basic.string.literals/literal2.fail.cpp Wed Aug  7 14:39:48 2013
@@ -13,7 +13,7 @@
 int main()
 {
 #if _LIBCPP_STD_VER > 11 
-	std::string foo  =   ""s;  // should fail w/conversion operator not found
+    std::string foo  =   ""s;  // should fail w/conversion operator not found
 #else
 #error
 #endif

Modified: libcxx/trunk/test/strings/basic.string.literals/literal2.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/strings/basic.string.literals/literal2.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/strings/basic.string.literals/literal2.pass.cpp (original)
+++ libcxx/trunk/test/strings/basic.string.literals/literal2.pass.cpp Wed Aug  7 14:39:48 2013
@@ -15,6 +15,6 @@ int main()
 #if _LIBCPP_STD_VER > 11 
     using namespace std::literals::string_literals;
 
-	std::string foo  =   ""s;
+    std::string foo  =   ""s;
 #endif
 }

Modified: libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp (original)
+++ libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp Wed Aug  7 14:39:48 2013
@@ -40,7 +40,7 @@ int main()
     }
 #if _LIBCPP_STD_VER > 11 
     {
-    	constexpr auto t1 = std::make_tuple(0, 1, 3.14);
+        constexpr auto t1 = std::make_tuple(0, 1, 3.14);
         constexpr int i1 = std::get<1>(t1);
         constexpr double d1 = std::get<2>(t1);
         static_assert (i1 == 1, "" );

Modified: libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp (original)
+++ libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp Wed Aug  7 14:39:48 2013
@@ -16,9 +16,9 @@
 int main()
 {
 #if _LIBCPP_STD_VER > 11
-	typedef std::complex<float> cf;
-	auto t1 = std::make_tuple<int, std::string> ( 42, "Hi" );
-	assert ( std::get<cf>(t1) == cf {1,2} );	// no such type
+    typedef std::complex<float> cf;
+    auto t1 = std::make_tuple<int, std::string> ( 42, "Hi" );
+    assert ( std::get<cf>(t1) == cf {1,2} );    // no such type
 #else
 #error
 #endif

Modified: libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type2.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type2.fail.cpp (original)
+++ libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type2.fail.cpp Wed Aug  7 14:39:48 2013
@@ -16,9 +16,9 @@
 int main()
 {
 #if _LIBCPP_STD_VER > 11
-	typedef std::complex<float> cf;
-	auto t1 = std::make_tuple<int, int, std::string, cf> ( 42, 21, "Hi", { 1,2 } );
-	assert ( std::get<int>(t1) == 42 ); // two ints here
+    typedef std::complex<float> cf;
+    auto t1 = std::make_tuple<int, int, std::string, cf> ( 42, 21, "Hi", { 1,2 } );
+    assert ( std::get<int>(t1) == 42 ); // two ints here
 #else
 #error
 #endif

Modified: libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type4.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type4.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type4.fail.cpp (original)
+++ libcxx/trunk/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type4.fail.cpp Wed Aug  7 14:39:48 2013
@@ -16,9 +16,9 @@
 int main()
 {
 #if _LIBCPP_STD_VER > 11
-	typedef std::unique_ptr<int> upint;
-	std::tuple<upint> t(upint(new int(4)));
-	upint p = std::get<upint>(t);
+    typedef std::unique_ptr<int> upint;
+    std::tuple<upint> t(upint(new int(4)));
+    upint p = std::get<upint>(t);
 #else
 #error
 #endif

Modified: libcxx/trunk/test/utilities/utility/forward/forward.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/utility/forward/forward.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/utility/forward/forward.pass.cpp (original)
+++ libcxx/trunk/test/utilities/utility/forward/forward.pass.cpp Wed Aug  7 14:39:48 2013
@@ -72,9 +72,9 @@ int main()
 #endif  // _LIBCPP_HAS_NO_RVALUE_REFERENCES
 
 #if _LIBCPP_STD_VER > 11
-	constexpr int i1 = std::move(23);
-	static_assert(i1 == 23, "" );
-	constexpr int i2 = std::forward<int>(42);
-	static_assert(i2 == 42, "" );
+    constexpr int i1 = std::move(23);
+    static_assert(i1 == 23, "" );
+    constexpr int i2 = std::forward<int>(42);
+    static_assert(i2 == 42, "" );
 #endif
 }

Modified: libcxx/trunk/test/utilities/utility/forward/move_if_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/utility/forward/move_if_noexcept.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/utility/forward/move_if_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/utilities/utility/forward/move_if_noexcept.pass.cpp Wed Aug  7 14:39:48 2013
@@ -61,9 +61,9 @@ int main()
     static_assert((std::is_same<decltype(std::move_if_noexcept(l)), const legacy&>::value), "");
 
 #if _LIBCPP_STD_VER > 11
-	constexpr int i1 = 23;
-	constexpr int i2 = std::move_if_noexcept(i1);
-	static_assert(i2 == 23, "" );
+    constexpr int i1 = 23;
+    constexpr int i2 = std::move_if_noexcept(i1);
+    static_assert(i2 == 23, "" );
 #endif
 
 }

Modified: libcxx/trunk/test/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp (original)
+++ libcxx/trunk/test/utilities/utility/pairs/pair.astuple/pairs.by.type3.fail.cpp Wed Aug  7 14:39:48 2013
@@ -15,9 +15,9 @@
 int main()
 {
 #if _LIBCPP_STD_VER > 11
-	typedef std::unique_ptr<int> upint;
-	std::pair<upint, int> t(upint(new int(4)), 23);
-	upint p = std::get<upint>(t);
+    typedef std::unique_ptr<int> upint;
+    std::pair<upint, int> t(upint(new int(4)), 23);
+    upint p = std::get<upint>(t);
 #else
 #error
 #endif

Modified: libcxx/trunk/test/utilities/utility/pairs/pairs.pair/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/utility/pairs/pairs.pair/default.pass.cpp?rev=187906&r1=187905&r2=187906&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/utility/pairs/pairs.pair/default.pass.cpp (original)
+++ libcxx/trunk/test/utilities/utility/pairs/pairs.pair/default.pass.cpp Wed Aug  7 14:39:48 2013
@@ -23,8 +23,8 @@ int main()
     P p;
     assert(p.first == 0.0f);
     assert(p.second == nullptr);
-	}
-	
+    }
+    
 #if _LIBCPP_STD_VER > 11
     {
     typedef std::pair<float, short*> P;





More information about the cfe-commits mailing list