mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -44,8 +44,8 @@ protected:
|
||||
GCMetadataPrinter();
|
||||
|
||||
private:
|
||||
GCMetadataPrinter(const GCMetadataPrinter &) LLVM_DELETED_FUNCTION;
|
||||
GCMetadataPrinter &operator=(const GCMetadataPrinter &) LLVM_DELETED_FUNCTION;
|
||||
GCMetadataPrinter(const GCMetadataPrinter &) = delete;
|
||||
GCMetadataPrinter &operator=(const GCMetadataPrinter &) = delete;
|
||||
|
||||
public:
|
||||
GCStrategy &getStrategy() { return *S; }
|
||||
|
||||
@@ -745,7 +745,7 @@ namespace llvm {
|
||||
#endif
|
||||
|
||||
private:
|
||||
LiveInterval& operator=(const LiveInterval& rhs) LLVM_DELETED_FUNCTION;
|
||||
LiveInterval& operator=(const LiveInterval& rhs) = delete;
|
||||
|
||||
/// Appends @p Range to SubRanges list.
|
||||
void appendSubRange(SubRange *Range) {
|
||||
|
||||
@@ -179,8 +179,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
Query(const Query&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const Query&) LLVM_DELETED_FUNCTION;
|
||||
Query(const Query&) = delete;
|
||||
void operator=(const Query&) = delete;
|
||||
};
|
||||
|
||||
// Array of LiveIntervalUnions.
|
||||
|
||||
@@ -44,8 +44,8 @@ class LivePhysRegs {
|
||||
const TargetRegisterInfo *TRI;
|
||||
SparseSet<unsigned> LiveRegs;
|
||||
|
||||
LivePhysRegs(const LivePhysRegs&) LLVM_DELETED_FUNCTION;
|
||||
LivePhysRegs &operator=(const LivePhysRegs&) LLVM_DELETED_FUNCTION;
|
||||
LivePhysRegs(const LivePhysRegs&) = delete;
|
||||
LivePhysRegs &operator=(const LivePhysRegs&) = delete;
|
||||
public:
|
||||
/// \brief Constructs a new empty LivePhysRegs set.
|
||||
LivePhysRegs() : TRI(nullptr), LiveRegs() {}
|
||||
|
||||
@@ -26,8 +26,8 @@ public:
|
||||
typedef DominanceFrontierBase<MachineBasicBlock>::iterator iterator;
|
||||
typedef DominanceFrontierBase<MachineBasicBlock>::const_iterator const_iterator;
|
||||
|
||||
void operator=(const MachineDominanceFrontier &) LLVM_DELETED_FUNCTION;
|
||||
MachineDominanceFrontier(const MachineDominanceFrontier &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineDominanceFrontier &) = delete;
|
||||
MachineDominanceFrontier(const MachineDominanceFrontier &) = delete;
|
||||
|
||||
static char ID;
|
||||
|
||||
|
||||
@@ -145,8 +145,8 @@ class MachineFunction {
|
||||
/// True if the function includes any inline assembly.
|
||||
bool HasInlineAsm;
|
||||
|
||||
MachineFunction(const MachineFunction &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineFunction&) LLVM_DELETED_FUNCTION;
|
||||
MachineFunction(const MachineFunction &) = delete;
|
||||
void operator=(const MachineFunction&) = delete;
|
||||
public:
|
||||
MachineFunction(const Function *Fn, const TargetMachine &TM,
|
||||
unsigned FunctionNum, MachineModuleInfo &MMI);
|
||||
|
||||
@@ -93,10 +93,10 @@ private:
|
||||
|
||||
DebugLoc debugLoc; // Source line information.
|
||||
|
||||
MachineInstr(const MachineInstr&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineInstr&) LLVM_DELETED_FUNCTION;
|
||||
MachineInstr(const MachineInstr&) = delete;
|
||||
void operator=(const MachineInstr&) = delete;
|
||||
// Use MachineFunction::DeleteMachineInstr() instead.
|
||||
~MachineInstr() LLVM_DELETED_FUNCTION;
|
||||
~MachineInstr() = delete;
|
||||
|
||||
// Intrusive list support
|
||||
friend struct ilist_traits<MachineInstr>;
|
||||
|
||||
@@ -74,8 +74,8 @@ class MachineLoopInfo : public MachineFunctionPass {
|
||||
LoopInfoBase<MachineBasicBlock, MachineLoop> LI;
|
||||
friend class LoopBase<MachineBasicBlock, MachineLoop>;
|
||||
|
||||
void operator=(const MachineLoopInfo &) LLVM_DELETED_FUNCTION;
|
||||
MachineLoopInfo(const MachineLoopInfo &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineLoopInfo &) = delete;
|
||||
MachineLoopInfo(const MachineLoopInfo &) = delete;
|
||||
|
||||
public:
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
|
||||
@@ -123,8 +123,8 @@ private:
|
||||
/// second element.
|
||||
std::vector<std::pair<unsigned, unsigned> > LiveIns;
|
||||
|
||||
MachineRegisterInfo(const MachineRegisterInfo&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineRegisterInfo&) LLVM_DELETED_FUNCTION;
|
||||
MachineRegisterInfo(const MachineRegisterInfo&) = delete;
|
||||
void operator=(const MachineRegisterInfo&) = delete;
|
||||
public:
|
||||
explicit MachineRegisterInfo(const MachineFunction *MF);
|
||||
|
||||
|
||||
@@ -107,8 +107,8 @@ public:
|
||||
private:
|
||||
unsigned GetValueAtEndOfBlockInternal(MachineBasicBlock *BB);
|
||||
|
||||
void operator=(const MachineSSAUpdater&) LLVM_DELETED_FUNCTION;
|
||||
MachineSSAUpdater(const MachineSSAUpdater&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MachineSSAUpdater&) = delete;
|
||||
MachineSSAUpdater(const MachineSSAUpdater&) = delete;
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
@@ -115,8 +115,8 @@ class SDDbgInfo {
|
||||
typedef DenseMap<const SDNode*, SmallVector<SDDbgValue*, 2> > DbgValMapType;
|
||||
DbgValMapType DbgValMap;
|
||||
|
||||
void operator=(const SDDbgInfo&) LLVM_DELETED_FUNCTION;
|
||||
SDDbgInfo(const SDDbgInfo&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const SDDbgInfo&) = delete;
|
||||
SDDbgInfo(const SDDbgInfo&) = delete;
|
||||
public:
|
||||
SDDbgInfo() {}
|
||||
|
||||
@@ -262,8 +262,8 @@ private:
|
||||
DenseSet<SDNode *> &visited,
|
||||
int level, bool &printed);
|
||||
|
||||
void operator=(const SelectionDAG&) LLVM_DELETED_FUNCTION;
|
||||
SelectionDAG(const SelectionDAG&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const SelectionDAG&) = delete;
|
||||
SelectionDAG(const SelectionDAG&) = delete;
|
||||
|
||||
public:
|
||||
explicit SelectionDAG(const TargetMachine &TM, llvm::CodeGenOpt::Level);
|
||||
|
||||
@@ -259,8 +259,8 @@ class SDUse {
|
||||
/// this operand.
|
||||
SDUse **Prev, *Next;
|
||||
|
||||
SDUse(const SDUse &U) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const SDUse &U) LLVM_DELETED_FUNCTION;
|
||||
SDUse(const SDUse &U) = delete;
|
||||
void operator=(const SDUse &U) = delete;
|
||||
|
||||
public:
|
||||
SDUse() : Val(), User(nullptr), Prev(nullptr), Next(nullptr) {}
|
||||
@@ -1611,7 +1611,7 @@ public:
|
||||
/// BUILD_VECTORs.
|
||||
class BuildVectorSDNode : public SDNode {
|
||||
// These are constructed as SDNodes and then cast to BuildVectorSDNodes.
|
||||
explicit BuildVectorSDNode() LLVM_DELETED_FUNCTION;
|
||||
explicit BuildVectorSDNode() = delete;
|
||||
public:
|
||||
/// isConstantSplat - Check if this is a constant splat, and if so, find the
|
||||
/// smallest element size that splats the vector. If MinSplatBits is
|
||||
|
||||
@@ -63,8 +63,8 @@ namespace llvm {
|
||||
/// createSpillSlot - Allocate a spill slot for RC from MFI.
|
||||
unsigned createSpillSlot(const TargetRegisterClass *RC);
|
||||
|
||||
VirtRegMap(const VirtRegMap&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const VirtRegMap&) LLVM_DELETED_FUNCTION;
|
||||
VirtRegMap(const VirtRegMap&) = delete;
|
||||
void operator=(const VirtRegMap&) = delete;
|
||||
|
||||
public:
|
||||
static char ID;
|
||||
|
||||
Reference in New Issue
Block a user