mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-02 22:32:08 +00:00
Disable the operator= in Value
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
This commit is contained in:
parent
945de2da58
commit
e2c677fd9c
@ -81,6 +81,9 @@ public:
|
||||
//
|
||||
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...
|
||||
|
@ -81,6 +81,9 @@ public:
|
||||
//
|
||||
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...
|
||||
|
@ -81,6 +81,9 @@ public:
|
||||
//
|
||||
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...
|
||||
|
@ -50,6 +50,7 @@ private:
|
||||
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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user