summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-27 02:47:38 +0000
committerRui Ueyama <ruiu@google.com>2016-05-27 02:47:38 +0000
commit0d70ccd89584f774172cd1a418e29f7350fa4ba3 (patch)
tree5edd4d04eb25a21d52812cc749819fd8ec4da305
parent47bee32a57e34dfca31d9acc74181ad21fd536fd (diff)
downloadbcm5719-llvm-0d70ccd89584f774172cd1a418e29f7350fa4ba3.tar.gz
bcm5719-llvm-0d70ccd89584f774172cd1a418e29f7350fa4ba3.zip
Remove use of is_trivially_constructible.
type_traits header in libstdc++ 4.8 does not define is_trivially_contructible so the code doesn't compile with it. In this file we are using the trait for assertion to provide a better error message. Removing it doesn't change the meaning of the code. Differential Revision: http://reviews.llvm.org/D20719 llvm-svn: 270957
-rw-r--r--llvm/include/llvm/DebugInfo/CodeView/StreamArray.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h b/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h
index 03dc4ae5a6f..bc21b20d49d 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/StreamArray.h
@@ -111,8 +111,6 @@ template <typename T> class FixedStreamArrayIterator;
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() {}
OpenPOWER on IntegriCloud