[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094
Billy Robert O'Neal III via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 9 17:28:00 PDT 2017
BillyONeal updated this revision to Diff 98376.
BillyONeal added a comment.
Bill got confused.
https://reviews.llvm.org/D33021
Files:
test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
Index: test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
===================================================================
--- test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
+++ test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
@@ -20,15 +20,15 @@
template <class T>
void test_is_trivially_copyable()
{
- static_assert( std::is_trivially_copyable<T>::value, "");
- static_assert( std::is_trivially_copyable<const T>::value, "");
- static_assert(!std::is_trivially_copyable<volatile T>::value, "");
- static_assert(!std::is_trivially_copyable<const volatile T>::value, "");
+ static_assert(std::is_trivially_copyable<T>::value, "");
+ static_assert(std::is_trivially_copyable<const T>::value, "");
+ static_assert(std::is_trivially_copyable<volatile T>::value, "");
+ static_assert(std::is_trivially_copyable<const volatile T>::value, "");
#if TEST_STD_VER > 14
- static_assert( std::is_trivially_copyable_v<T>, "");
- static_assert( std::is_trivially_copyable_v<const T>, "");
- static_assert(!std::is_trivially_copyable_v<volatile T>, "");
- static_assert(!std::is_trivially_copyable_v<const volatile T>, "");
+ static_assert(std::is_trivially_copyable_v<T>, "");
+ static_assert(std::is_trivially_copyable_v<const T>, "");
+ static_assert(std::is_trivially_copyable_v<volatile T>, "");
+ static_assert(std::is_trivially_copyable_v<const volatile T>, "");
#endif
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33021.98376.patch
Type: text/x-patch
Size: 1523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170510/297a4294/attachment.bin>
More information about the cfe-commits
mailing list