forked from OSchip/llvm-project
disable SmallVectorImpl's copy constructor. This prevents a class
of base class slicing bugs reported on irc llvm-svn: 106028
This commit is contained in:
parent
fc7d739422
commit
146f130d1f
|
@ -269,6 +269,8 @@ public:
|
|||
template <typename T>
|
||||
class SmallVectorImpl : public SmallVectorTemplateBase<T, isPodLike<T>::value> {
|
||||
typedef SmallVectorTemplateBase<T, isPodLike<T>::value > SuperClass;
|
||||
|
||||
SmallVectorImpl(const SmallVectorImpl&); // DISABLED.
|
||||
public:
|
||||
typedef typename SuperClass::iterator iterator;
|
||||
typedef typename SuperClass::size_type size_type;
|
||||
|
|
Loading…
Reference in New Issue