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

llvm-svn: 273357
This commit is contained in:
Eric Fiselier 2016-06-22 01:23:51 +00:00
parent 2ff9c25d93
commit 46fb2b903e
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.
}