Disable the copy ctor and operator= in Annotation.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3048
91177308-0d34-0410-b5e6-
96231b3b80d8
//
class Annotable {
mutable Annotation *AnnotationList;
+
+ Annotable(const Annotable &); // Do not implement
+ void operator=(const Annotable &); // Do not implement
public:
Annotable() : AnnotationList(0) {}
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
//
class Annotable {
mutable Annotation *AnnotationList;
+
+ Annotable(const Annotable &); // Do not implement
+ void operator=(const Annotable &); // Do not implement
public:
Annotable() : AnnotationList(0) {}
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
//
class Annotable {
mutable Annotation *AnnotationList;
+
+ Annotable(const Annotable &); // Do not implement
+ void operator=(const Annotable &); // Do not implement
public:
Annotable() : AnnotationList(0) {}
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
PATypeHandle<Type> Ty;
ValueTy VTy;
+ void operator=(const Value &); // Do not implement
Value(const Value &); // Do not implement
protected:
inline void setType(const Type *ty) { Ty = ty; }