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:
parent
0998a3e70e
commit
19d804b6d6
@ -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 = "")
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user