Remove trailing whitespace in test suite. Approved by Marshall Clow.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-01 21:35:39 +00:00
parent 68db6cdf1b
commit 84acb1ec3f
369 changed files with 1028 additions and 1028 deletions

View File

@@ -29,7 +29,7 @@ int main()
assert(f2(3,2) == 5);
assert(f2(3.0, 2) == 5);
assert(f2(3, 2.5) == 5.5);
constexpr int foo = std::plus<int> () (3, 2);
static_assert ( foo == 5, "" );

View File

@@ -54,6 +54,6 @@ int main ()
static_assert ( !is_transparent<std::negate<std::string>>::value, "" );
static_assert ( is_transparent<std::negate<void>>::value, "" );
static_assert ( is_transparent<std::negate<>>::value, "" );
return 0;
}

View File

@@ -43,6 +43,6 @@ int main () {
static_assert ( !is_transparent<std::bit_not<std::string>>::value, "" );
static_assert ( is_transparent<std::bit_not<void>>::value, "" );
static_assert ( is_transparent<std::bit_not<>>::value, "" );
return 0;
}

View File

@@ -14,7 +14,7 @@
// public:
// typedef R result_type;
// typedef T1 argument_type; // iff sizeof...(ArgTypes) == 1 and
// // the type in ArgTypes is T1
// // the type in ArgTypes is T1
// typedef T1 first_argument_type; // iff sizeof...(ArgTypes) == 2 and
// // ArgTypes contains T1 and T2
// typedef T2 second_argument_type; // iff sizeof...(ArgTypes) == 2 and

View File

@@ -39,6 +39,6 @@ int main ()
static_assert ( !is_transparent<std::logical_not<std::string>>::value, "" );
static_assert ( is_transparent<std::logical_not<void>>::value, "" );
static_assert ( is_transparent<std::logical_not<>>::value, "" );
return 0;
}

View File

@@ -54,8 +54,8 @@ int main()
{
test<int>();
test<double>();
test<std::string>();
test<std::string>();
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
test<MoveOnly>();
test<MoveOnly>();
#endif
}

View File

@@ -35,7 +35,7 @@ test()
static_assert((std::is_same<typename H::argument_type, T>::value), "" );
static_assert((std::is_same<typename H::result_type, std::size_t>::value), "" );
typedef typename std::underlying_type<T>::type under_type;
H h1;
std::hash<under_type> h2;
for (int i = 0; i <= 5; ++i)