[PATCH] D20719: Remove use of is_trivially_constructible.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 19:54:13 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL270957: Remove use of is_trivially_constructible. (authored by ruiu).

Changed prior to commit:
  http://reviews.llvm.org/D20719?vs=58745&id=58746#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20719

Files:
  llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h

Index: llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h
===================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/StreamArray.h
@@ -111,8 +111,6 @@
 
 template <typename T> class FixedStreamArray {
   friend class FixedStreamArrayIterator<T>;
-  static_assert(std::is_trivially_constructible<T>::value,
-                "FixedStreamArray must be used with trivial types");
 
 public:
   FixedStreamArray() : Stream() {}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20719.58746.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160527/496da015/attachment.bin>


More information about the llvm-commits mailing list