mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +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 {
|
namespace llvm {
|
||||||
|
|
||||||
class Constant : public User {
|
class Constant : public User {
|
||||||
|
void operator=(const Constant &); // Do not implement
|
||||||
|
Constant(const Constant &); // Do not implement
|
||||||
protected:
|
protected:
|
||||||
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
|
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
|
||||||
const std::string& Name = "")
|
const std::string& Name = "")
|
||||||
|
@ -34,6 +34,9 @@ template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
|
|||||||
class GlobalVariable : public GlobalValue {
|
class GlobalVariable : public GlobalValue {
|
||||||
friend class SymbolTableListTraits<GlobalVariable, Module, Module,
|
friend class SymbolTableListTraits<GlobalVariable, Module, Module,
|
||||||
ilist_traits<GlobalVariable> >;
|
ilist_traits<GlobalVariable> >;
|
||||||
|
void operator=(const GlobalVariable &); // Do not implement
|
||||||
|
GlobalVariable(const GlobalVariable &); // Do not implement
|
||||||
|
|
||||||
void setParent(Module *parent);
|
void setParent(Module *parent);
|
||||||
|
|
||||||
GlobalVariable *Prev, *Next;
|
GlobalVariable *Prev, *Next;
|
||||||
|
@ -27,6 +27,9 @@ template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
|
|||||||
typename SubClass> class SymbolTableListTraits;
|
typename SubClass> class SymbolTableListTraits;
|
||||||
|
|
||||||
class Instruction : public User {
|
class Instruction : public User {
|
||||||
|
void operator=(const Instruction &); // Do not implement
|
||||||
|
Instruction(const Instruction &); // Do not implement
|
||||||
|
|
||||||
BasicBlock *Parent;
|
BasicBlock *Parent;
|
||||||
Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list
|
Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user