llvm.org GIT mirror llvm / c5f24a2
Fix VC++ level 4 warnings. Because a base class has declared these private, VC++ complains it cannot automatically generate this methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24751 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 14 years ago
3 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1818 namespace llvm {
1919
2020 class Constant : public User {
21 void operator=(const Constant &); // Do not implement
22 Constant(const Constant &); // Do not implement
2123 protected:
2224 Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
2325 const std::string& Name = "")
3333 class GlobalVariable : public GlobalValue {
3434 friend class SymbolTableListTraits
3535 ilist_traits >;
36 void operator=(const GlobalVariable &); // Do not implement
37 GlobalVariable(const GlobalVariable &); // Do not implement
38
3639 void setParent(Module *parent);
3740
3841 GlobalVariable *Prev, *Next;
2626 typename SubClass> class SymbolTableListTraits;
2727
2828 class Instruction : public User {
29 void operator=(const Instruction &); // Do not implement
30 Instruction(const Instruction &); // Do not implement
31
2932 BasicBlock *Parent;
3033 Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list
3134