aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Constant.h2
-rw-r--r--include/llvm/GlobalVariable.h3
-rw-r--r--include/llvm/Instruction.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index f9d8441..e2b77a7 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -19,6 +19,8 @@
namespace llvm {
class Constant : public User {
+ void operator=(const Constant &); // Do not implement
+ Constant(const Constant &); // Do not implement
protected:
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
const std::string& Name = "")
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h
index 7c6aee3..87df5d5 100644
--- a/include/llvm/GlobalVariable.h
+++ b/include/llvm/GlobalVariable.h
@@ -34,6 +34,9 @@ template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
class GlobalVariable : public GlobalValue {
friend class SymbolTableListTraits<GlobalVariable, Module, Module,
ilist_traits<GlobalVariable> >;
+ void operator=(const GlobalVariable &); // Do not implement
+ GlobalVariable(const GlobalVariable &); // Do not implement
+
void setParent(Module *parent);
GlobalVariable *Prev, *Next;
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index d9cb585..2b025dd 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -27,6 +27,9 @@ template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
typename SubClass> class SymbolTableListTraits;
class Instruction : public User {
+ void operator=(const Instruction &); // Do not implement
+ Instruction(const Instruction &); // Do not implement
+
BasicBlock *Parent;
Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list