mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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
This commit is contained in:
parent
e15ccf464c
commit
c5f24a2c2a
@ -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