summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-05-13 10:55:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-05-13 10:55:23 +0000
commit6ec636d21e61ed4b9f2d2b4b357e220d398b8e64 (patch)
tree0ef8186c1038a0be6aec8c9a38d82c3fc4b23eef /llvm
parent031da5942327aa4e72652a126a2cd3792adedfe3 (diff)
downloadbcm5719-llvm-6ec636d21e61ed4b9f2d2b4b357e220d398b8e64.tar.gz
bcm5719-llvm-6ec636d21e61ed4b9f2d2b4b357e220d398b8e64.zip
Try to fix MSVC by explicitly providing copy and move constructors so it
doesn't try to use the converting constructor template for those operations. llvm-svn: 269406
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/Sequence.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/ADT/Sequence.h b/llvm/include/llvm/ADT/Sequence.h
index 8323b053cca..0d16d290434 100644
--- a/llvm/include/llvm/ADT/Sequence.h
+++ b/llvm/include/llvm/ADT/Sequence.h
@@ -36,6 +36,8 @@ public:
typedef typename BaseT::reference reference;
value_sequence_iterator() = default;
+ value_sequence_iterator(const value_sequence_iterator &) = default;
+ value_sequence_iterator(value_sequence_iterator &&) = default;
template <typename U>
value_sequence_iterator(U &&Value) : Value(std::forward<U>(Value)) {}
OpenPOWER on IntegriCloud