1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix VC++ level 4 warnings. Because a base class has declared these private, VC++ complains it cannot automatically generate this methods.

llvm-svn: 24751
This commit is contained in:
Jeff Cohen 2005-12-17 00:19:22 +00:00
parent 0998a3e70e
commit 19d804b6d6
3 changed files with 8 additions and 0 deletions

View File

@ -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 = "")

View File

@ -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;

View File

@ -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