diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index f9d8441a675..e2b77a7e21a 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 7c6aee37f37..87df5d514fd 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -34,6 +34,9 @@ template >; + 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 d9cb5859211..2b025dd8753 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -27,6 +27,9 @@ template 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