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:
@@ -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, "" );
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user