aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Support/Annotation.h3
-rw-r--r--include/llvm/Annotation.h3
-rw-r--r--include/llvm/Support/Annotation.h3
-rw-r--r--include/llvm/Value.h1
4 files changed, 10 insertions, 0 deletions
diff --git a/include/Support/Annotation.h b/include/Support/Annotation.h
index c0642e1d23..90259536b8 100644
--- a/include/Support/Annotation.h
+++ b/include/Support/Annotation.h
@@ -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...
diff --git a/include/llvm/Annotation.h b/include/llvm/Annotation.h
index c0642e1d23..90259536b8 100644
--- a/include/llvm/Annotation.h
+++ b/include/llvm/Annotation.h
@@ -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...
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h
index c0642e1d23..90259536b8 100644
--- a/include/llvm/Support/Annotation.h
+++ b/include/llvm/Support/Annotation.h
@@ -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...
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index fd72873119..fdde5aed96 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -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; }