Fixing whitespace problems

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2010-08-22 00:42:21 +00:00
parent 22a74dcf50
commit 0e20cae1a5
80 changed files with 130 additions and 146 deletions

View File

@ -227,4 +227,4 @@ void is_about(long double x, long double y)
assert(std::abs((x-y)/(x+y)) < 1.e-14); assert(std::abs((x-y)/(x+y)) < 1.e-14);
} }
#endif #endif // CASES_H

View File

@ -9,7 +9,6 @@
// <ccomplex> // <ccomplex>
#include <ccomplex> #include <ccomplex>
#ifndef _LIBCPP_VERSION #ifndef _LIBCPP_VERSION

View File

@ -44,7 +44,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -55,7 +55,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -44,7 +44,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -44,7 +44,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -79,7 +79,6 @@ test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0, typename s
test(std::complex<T>(3, 4), std::complex<U>(5, 6)); test(std::complex<T>(3, 4), std::complex<U>(5, 6));
} }
int main() int main()
{ {
test<int, float>(); test<int, float>();

View File

@ -55,7 +55,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -44,7 +44,6 @@ test()
test<T>(10); test<T>(10);
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -54,7 +54,6 @@ void test_edges()
} }
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -126,7 +126,6 @@ void test_edges()
} }
} }
int main() int main()
{ {
test<float>(); test<float>();

View File

@ -53,5 +53,5 @@ int main()
assert(v2[i][j] == a[i][j]); assert(v2[i][j] == a[i][j]);
} }
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -59,5 +59,5 @@ int main()
assert(v2[i][j] == a[i][j]); assert(v2[i][j] == a[i][j]);
} }
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -37,5 +37,5 @@ int main()
for (int i = 0; i < N; ++i) for (int i = 0; i < N; ++i)
assert(v[i] == a[i]); assert(v[i] == a[i]);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -57,5 +57,5 @@ int main()
assert(v2[i][j] == a[i][j]); assert(v2[i][j] == a[i][j]);
} }
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -311,4 +311,4 @@ base(Iter i)
return i; return i;
} }
#endif #endif // ITERATORS_H

View File

@ -16,7 +16,6 @@
#include <random> #include <random>
#include <cassert> #include <cassert>
int main() int main()
{ {
std::random_device r; std::random_device r;

View File

@ -25,7 +25,6 @@ f(double x, double a, double b)
return 1/3.1415926535897932 * std::atan((x - a)/b) + .5; return 1/3.1415926535897932 * std::atan((x - a)/b) + .5;
} }
int main() int main()
{ {
{ {

View File

@ -77,5 +77,5 @@ int main()
assert(p[1] == 0); assert(p[1] == 0);
assert(p[2] == 1); assert(p[2] == 1);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -84,5 +84,5 @@ int main()
assert(p[1] == 0); assert(p[1] == 0);
assert(p[2] == 1); assert(p[2] == 1);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -74,5 +74,5 @@ int main()
assert(dn[0] == 0.203125); assert(dn[0] == 0.203125);
assert(dn[1] == 0.1484375); assert(dn[1] == 0.1484375);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -75,5 +75,5 @@ int main()
assert(dn[0] == 0.203125); assert(dn[0] == 0.203125);
assert(dn[1] == 0.1484375); assert(dn[1] == 0.1484375);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -78,5 +78,5 @@ int main()
assert(dn[1] == 0.125); assert(dn[1] == 0.125);
assert(dn[2] == 0.175); assert(dn[2] == 0.175);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -79,5 +79,5 @@ int main()
assert(dn[1] == 0.125); assert(dn[1] == 0.125);
assert(dn[2] == 0.175); assert(dn[2] == 0.175);
} }
#endif #endif // _LIBCPP_MOVE
} }

View File

@ -11,8 +11,6 @@
// typedef minstd_rand0 default_random_engine; // typedef minstd_rand0 default_random_engine;
#include <random> #include <random>
#include <cassert> #include <cassert>

View File

@ -17,8 +17,6 @@
#include <random> #include <random>
#include <cassert> #include <cassert>
int main() int main()
{ {
{ {

View File

@ -29,5 +29,5 @@ int main()
assert(b[2] == 3); assert(b[2] == 3);
assert(b[3] == 2); assert(b[3] == 2);
assert(b[4] == 1); assert(b[4] == 1);
#endif #endif // _LIBCPP_MOVE
} }