[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 16:59:44 PDT 2017


BillyONeal updated this revision to Diff 98370.
BillyONeal edited the summary of this revision.
BillyONeal added a comment.

Eric asked to just nuke the offending lines.


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,11 @@
 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, "");
 #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>, "");
 #endif
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33021.98370.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170509/1998c9b8/attachment.bin>


More information about the cfe-commits mailing list