forked from OSchip/llvm-project
[C++11] Mark more classes in the X86 target as 'final'.
llvm-svn: 205166
This commit is contained in:
parent
26eec09d84
commit
ec82847a64
|
@ -19,8 +19,8 @@
|
|||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class X86ATTInstPrinter : public MCInstPrinter {
|
||||
|
||||
class X86ATTInstPrinter final : public MCInstPrinter {
|
||||
public:
|
||||
X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI)
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class X86IntelInstPrinter : public MCInstPrinter {
|
||||
|
||||
class X86IntelInstPrinter final : public MCInstPrinter {
|
||||
public:
|
||||
X86IntelInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI)
|
||||
|
|
|
@ -128,7 +128,7 @@ inline static bool isMem(const MachineInstr *MI, unsigned Op) {
|
|||
isLeaMem(MI, Op);
|
||||
}
|
||||
|
||||
class X86InstrInfo : public X86GenInstrInfo {
|
||||
class X86InstrInfo final : public X86GenInstrInfo {
|
||||
X86TargetMachine &TM;
|
||||
const X86RegisterInfo RI;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace llvm {
|
|||
class TargetInstrInfo;
|
||||
class X86TargetMachine;
|
||||
|
||||
class X86RegisterInfo : public X86GenRegisterInfo {
|
||||
class X86RegisterInfo final : public X86GenRegisterInfo {
|
||||
public:
|
||||
X86TargetMachine &TM;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ enum Style {
|
|||
};
|
||||
}
|
||||
|
||||
class X86Subtarget : public X86GenSubtargetInfo {
|
||||
class X86Subtarget final : public X86GenSubtargetInfo {
|
||||
protected:
|
||||
enum X86SSEEnum {
|
||||
NoMMXSSE, MMX, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42, AVX, AVX2, AVX512F
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace llvm {
|
|||
|
||||
class StringRef;
|
||||
|
||||
class X86TargetMachine : public LLVMTargetMachine {
|
||||
class X86TargetMachine final : public LLVMTargetMachine {
|
||||
virtual void anchor();
|
||||
X86Subtarget Subtarget;
|
||||
X86FrameLowering FrameLowering;
|
||||
|
|
Loading…
Reference in New Issue