Fix comment typos, strip trailing whitespace. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273357 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-22 01:23:51 +00:00
parent 14fe08bcb7
commit 03dacbe87a
5 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ int main()
assert(!std::char_traits<char>::lt('a', 'a'));
assert( std::char_traits<char>::lt('A', 'a'));
assert(!std::char_traits<char>::lt('a', 'A'));
assert( std::char_traits<char>::lt('a', 'z'));
assert( std::char_traits<char>::lt('A', 'Z'));

View File

@@ -74,7 +74,7 @@ int main()
}
{
// test for presense of is_nothrow_swappable_with_v
// test for presence of is_nothrow_swappable_with_v
static_assert(std::is_nothrow_swappable_with_v<int&, int&>, "");
static_assert(!std::is_nothrow_swappable_with_v<int&&, int&&>, "");
}

View File

@@ -70,7 +70,7 @@ int main()
static_assert(!std::is_swappable<int() &>::value, "");
}
{
// test for presense of is_swappable_v
// test for presence of is_swappable_v
static_assert(std::is_swappable_v<int>, "");
static_assert(!std::is_swappable_v<M>, "");
}

View File

@@ -65,7 +65,7 @@ int main()
static_assert(!std::is_swappable_with<D&, C&>::value, "");
}
{
// test that cv void is guarded against as required.
// test that cv void is guarded against as required.
static_assert(!std::is_swappable_with_v<void, int>, "");
static_assert(!std::is_swappable_with_v<int, void>, "");
static_assert(!std::is_swappable_with_v<const void, const volatile void>, "");

View File

@@ -29,5 +29,5 @@ int main () {
}
// Smart pointers of type 'T[N]' are not tested here since they are not
// supported by the standard nor by libc++'s implementation.
// See http://reviews.llvm.org/D21320 for move information.
}
// See http://reviews.llvm.org/D21320 for more information.
}