aboutsummaryrefslogtreecommitdiff
path: root/include/Support/Annotation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-24 20:01:57 +0000
committerChris Lattner <sabre@nondot.org>2002-07-24 20:01:57 +0000
commite2c677fd9cf412e77783b1e4d7eee57508a3e6db (patch)
tree1af82f454ef15f82282b89a1d9e25b98411b694a /include/Support/Annotation.h
parent945de2da589e972c3cdff4264f9ca4b4e13ac596 (diff)
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
Diffstat (limited to 'include/Support/Annotation.h')
-rw-r--r--include/Support/Annotation.h3
1 files changed, 3 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...