[libcxx] [test] Fix comment typos, strip trailing whitespace.
No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -144,8 +144,8 @@ int main()
|
||||
assert(&std::get<0>(t2) == &t1);
|
||||
}
|
||||
// Test constructing a 1-tuple of the form tuple<UDT> from another 1-tuple
|
||||
// 'tuple<T>' where UDT *can* be constructed from 'tuple<T>' In this case
|
||||
// the 'tuple(UTypes...)' ctor should be choosen and 'UDT' constructed frow
|
||||
// 'tuple<T>' where UDT *can* be constructed from 'tuple<T>'. In this case
|
||||
// the 'tuple(UTypes...)' ctor should be chosen and 'UDT' constructed from
|
||||
// 'tuple<T>'.
|
||||
{
|
||||
using VT = ConstructibleFromTupleAndInt;
|
||||
|
||||
@@ -100,8 +100,8 @@ int main()
|
||||
assert(std::get<1>(t) == nullptr);
|
||||
}
|
||||
{
|
||||
// Check that the SFINAE on the default constructor is not evaluted when
|
||||
// it isn't needed. If the default constructor is evaluted then this test
|
||||
// Check that the SFINAE on the default constructor is not evaluated when
|
||||
// it isn't needed. If the default constructor is evaluated then this test
|
||||
// should fail to compile.
|
||||
IllFormedDefault v(0);
|
||||
std::tuple<IllFormedDefault> t(v);
|
||||
|
||||
Reference in New Issue
Block a user