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

@@ -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&>, "");
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, ""); 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<int>, "");
static_assert(!std::is_swappable_v<M>, ""); static_assert(!std::is_swappable_v<M>, "");
} }

View File

@@ -29,5 +29,5 @@ int main () {
} }
// Smart pointers of type 'T[N]' are not tested here since they are not // Smart pointers of type 'T[N]' are not tested here since they are not
// supported by the standard nor by libc++'s implementation. // 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.
} }