mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-30 22:37:28 +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 {
|
class Annotable {
|
||||||
mutable Annotation *AnnotationList;
|
mutable Annotation *AnnotationList;
|
||||||
|
|
||||||
|
Annotable(const Annotable &); // Do not implement
|
||||||
|
void operator=(const Annotable &); // Do not implement
|
||||||
public:
|
public:
|
||||||
Annotable() : AnnotationList(0) {}
|
Annotable() : AnnotationList(0) {}
|
||||||
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
||||||
|
@ -81,6 +81,9 @@ public:
|
|||||||
//
|
//
|
||||||
class Annotable {
|
class Annotable {
|
||||||
mutable Annotation *AnnotationList;
|
mutable Annotation *AnnotationList;
|
||||||
|
|
||||||
|
Annotable(const Annotable &); // Do not implement
|
||||||
|
void operator=(const Annotable &); // Do not implement
|
||||||
public:
|
public:
|
||||||
Annotable() : AnnotationList(0) {}
|
Annotable() : AnnotationList(0) {}
|
||||||
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
||||||
|
@ -81,6 +81,9 @@ public:
|
|||||||
//
|
//
|
||||||
class Annotable {
|
class Annotable {
|
||||||
mutable Annotation *AnnotationList;
|
mutable Annotation *AnnotationList;
|
||||||
|
|
||||||
|
Annotable(const Annotable &); // Do not implement
|
||||||
|
void operator=(const Annotable &); // Do not implement
|
||||||
public:
|
public:
|
||||||
Annotable() : AnnotationList(0) {}
|
Annotable() : AnnotationList(0) {}
|
||||||
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
virtual ~Annotable() { // Virtual because it's designed to be subclassed...
|
||||||
|
@ -50,6 +50,7 @@ private:
|
|||||||
PATypeHandle<Type> Ty;
|
PATypeHandle<Type> Ty;
|
||||||
ValueTy VTy;
|
ValueTy VTy;
|
||||||
|
|
||||||
|
void operator=(const Value &); // Do not implement
|
||||||
Value(const Value &); // Do not implement
|
Value(const Value &); // Do not implement
|
||||||
protected:
|
protected:
|
||||||
inline void setType(const Type *ty) { Ty = ty; }
|
inline void setType(const Type *ty) { Ty = ty; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user