diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-06-01 21:35:39 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-06-01 21:35:39 +0000 |
| commit | d04c6851681bc9b89ba98c1644cd62d7fb719ac2 (patch) | |
| tree | 87ee3e3b4ed3729e24e3d715ce41ed13c9b70adb /libcxx/test/std/numerics | |
| parent | b4a4357ecb6a5a716bf1715bd14733a9641de222 (diff) | |
| download | bcm5719-llvm-d04c6851681bc9b89ba98c1644cd62d7fb719ac2.tar.gz bcm5719-llvm-d04c6851681bc9b89ba98c1644cd62d7fb719ac2.zip | |
Remove trailing whitespace in test suite. Approved by Marshall Clow.
llvm-svn: 271435
Diffstat (limited to 'libcxx/test/std/numerics')
9 files changed, 14 insertions, 14 deletions
diff --git a/libcxx/test/std/numerics/c.math/cmath.pass.cpp b/libcxx/test/std/numerics/c.math/cmath.pass.cpp index d1426149262..5fe1c427d46 100644 --- a/libcxx/test/std/numerics/c.math/cmath.pass.cpp +++ b/libcxx/test/std/numerics/c.math/cmath.pass.cpp @@ -1054,7 +1054,7 @@ void test_hypot() static_assert((std::is_same<decltype(std::hypot((int)0, (int)0)), double>::value), ""); static_assert((std::is_same<decltype(hypot(Ambiguous(), Ambiguous())), Ambiguous>::value), ""); assert(std::hypot(3,4) == 5); - + #if TEST_STD_VER > 14 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0, (float)0)), float>::value), ""); static_assert((std::is_same<decltype(std::hypot((float)0, (bool)0, (float)0)), double>::value), ""); diff --git a/libcxx/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp b/libcxx/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp index 30c95c3c88d..7decea877fb 100644 --- a/libcxx/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp @@ -30,7 +30,7 @@ test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) static_assert(std::imag(val) == 0, ""); constexpr std::complex<T> t{val, val}; static_assert(t.imag() == x, "" ); -#endif +#endif } template <class T, int x> @@ -44,7 +44,7 @@ test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0) static_assert(std::imag(val) == 0, ""); constexpr std::complex<T> t{val, val}; static_assert(t.imag() == x, "" ); -#endif +#endif } template <class T> diff --git a/libcxx/test/std/numerics/complex.number/cmplx.over/real.pass.cpp b/libcxx/test/std/numerics/complex.number/cmplx.over/real.pass.cpp index a5a4a35b13c..491b35890c0 100644 --- a/libcxx/test/std/numerics/complex.number/cmplx.over/real.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/cmplx.over/real.pass.cpp @@ -30,7 +30,7 @@ test(typename std::enable_if<std::is_integral<T>::value>::type* = 0) static_assert(std::real(val) == val, ""); constexpr std::complex<T> t{val, val}; static_assert(t.real() == x, "" ); -#endif +#endif } template <class T, int x> @@ -44,7 +44,7 @@ test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0) static_assert(std::real(val) == val, ""); constexpr std::complex<T> t{val, val}; static_assert(t.real() == x, "" ); -#endif +#endif } template <class T> diff --git a/libcxx/test/std/numerics/complex.number/complex.literals/literals.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.literals/literals.pass.cpp index cf4898d1317..a2e53629f97 100644 --- a/libcxx/test/std/numerics/complex.number/complex.literals/literals.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.literals/literals.pass.cpp @@ -25,14 +25,14 @@ int main() static_assert ( std::is_same<decltype( 3i ), std::complex<double>>::value, "" ); static_assert ( std::is_same<decltype( 3.0if ), std::complex<float>>::value, "" ); static_assert ( std::is_same<decltype( 3if ), std::complex<float>>::value, "" ); - + { std::complex<long double> c1 = 3.0il; assert ( c1 == std::complex<long double>(0, 3.0)); auto c2 = 3il; assert ( c1 == c2 ); } - + { std::complex<double> c1 = 3.0i; assert ( c1 == std::complex<double>(0, 3.0)); diff --git a/libcxx/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp index 42f9aa34e23..09a6f270f75 100644 --- a/libcxx/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp @@ -24,7 +24,7 @@ int main() auto c2 = 3il; assert ( c1 == c2 ); } - + { std::complex<double> c1 = 3.0i; assert ( c1 == std::complex<double>(0, 3.0)); diff --git a/libcxx/test/std/numerics/complex.number/complex.literals/literals2.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.literals/literals2.pass.cpp index c782460c770..d11530d7803 100644 --- a/libcxx/test/std/numerics/complex.number/complex.literals/literals2.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.literals/literals2.pass.cpp @@ -24,7 +24,7 @@ int main() auto c2 = 3il; assert ( c1 == c2 ); } - + { std::complex<double> c1 = 3.0i; assert ( c1 == std::complex<double>(0, 3.0)); diff --git a/libcxx/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp index cb285117b15..b4200fc81d4 100644 --- a/libcxx/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.member.ops/divide_equal_complex.pass.cpp @@ -28,7 +28,7 @@ test() c /= c2; assert(c.real() == 1); assert(c.imag() == 0); - + std::complex<T> c3; c3 = c; @@ -36,13 +36,13 @@ test() c3 /= ic; assert(c3.real() == 0.5); assert(c3.imag() == -0.5); - + c3 = c; std::complex<float> fc (1,1); c3 /= fc; assert(c3.real() == 0.5); assert(c3.imag() == -0.5); - + } int main() diff --git a/libcxx/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp index 8c16f4ced2c..9b222b8a1d3 100644 --- a/libcxx/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.member.ops/plus_equal_complex.pass.cpp @@ -36,7 +36,7 @@ test() c3 += ic; assert(c3.real() == 4); assert(c3.imag() == 6); - + c3 = c; std::complex<float> fc (1,1); c3 += fc; diff --git a/libcxx/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp index 84d6e591306..98b7197cb27 100644 --- a/libcxx/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.member.ops/times_equal_complex.pass.cpp @@ -36,7 +36,7 @@ test() c3 *= ic; assert(c3.real() == -11.5); assert(c3.imag() == 3.5); - + c3 = c; std::complex<float> fc (1,1); c3 *= fc; |

