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:
parent
22a74dcf50
commit
0e20cae1a5
@ -227,4 +227,4 @@ void is_about(long double x, long double y)
|
||||
assert(std::abs((x-y)/(x+y)) < 1.e-14);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CASES_H
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
// <ccomplex>
|
||||
|
||||
|
||||
#include <ccomplex>
|
||||
|
||||
#ifndef _LIBCPP_VERSION
|
||||
|
@ -44,7 +44,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -55,7 +55,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -44,7 +44,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -44,7 +44,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<int, float>();
|
||||
|
@ -55,7 +55,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -44,7 +44,6 @@ test()
|
||||
test<T>(10);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -54,7 +54,6 @@ void test_edges()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -126,7 +126,6 @@ void test_edges()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
test<float>();
|
||||
|
@ -53,5 +53,5 @@ int main()
|
||||
assert(v2[i][j] == a[i][j]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -59,5 +59,5 @@ int main()
|
||||
assert(v2[i][j] == a[i][j]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -37,5 +37,5 @@ int main()
|
||||
for (int i = 0; i < N; ++i)
|
||||
assert(v[i] == a[i]);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -57,5 +57,5 @@ int main()
|
||||
assert(v2[i][j] == a[i][j]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -311,4 +311,4 @@ base(Iter i)
|
||||
return i;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // ITERATORS_H
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <random>
|
||||
#include <cassert>
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
std::random_device r;
|
||||
|
@ -25,7 +25,6 @@ f(double x, double a, double b)
|
||||
return 1/3.1415926535897932 * std::atan((x - a)/b) + .5;
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
@ -77,5 +77,5 @@ int main()
|
||||
assert(p[1] == 0);
|
||||
assert(p[2] == 1);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -84,5 +84,5 @@ int main()
|
||||
assert(p[1] == 0);
|
||||
assert(p[2] == 1);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -74,5 +74,5 @@ int main()
|
||||
assert(dn[0] == 0.203125);
|
||||
assert(dn[1] == 0.1484375);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -75,5 +75,5 @@ int main()
|
||||
assert(dn[0] == 0.203125);
|
||||
assert(dn[1] == 0.1484375);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -78,5 +78,5 @@ int main()
|
||||
assert(dn[1] == 0.125);
|
||||
assert(dn[2] == 0.175);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -79,5 +79,5 @@ int main()
|
||||
assert(dn[1] == 0.125);
|
||||
assert(dn[2] == 0.175);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -11,8 +11,6 @@
|
||||
|
||||
// typedef minstd_rand0 default_random_engine;
|
||||
|
||||
|
||||
|
||||
#include <random>
|
||||
#include <cassert>
|
||||
|
||||
|
@ -17,8 +17,6 @@
|
||||
#include <random>
|
||||
#include <cassert>
|
||||
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
@ -29,5 +29,5 @@ int main()
|
||||
assert(b[2] == 3);
|
||||
assert(b[3] == 2);
|
||||
assert(b[4] == 1);
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user