llvm.org GIT mirror llvm / 379e2cf
[C++11] Mark more classes in the X86 target as 'final'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205166 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 6 years ago
6 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
1818 namespace llvm {
1919
2020 class MCOperand;
21
22 class X86ATTInstPrinter : public MCInstPrinter {
21
22 class X86ATTInstPrinter final : public MCInstPrinter {
2323 public:
2424 X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
2525 const MCRegisterInfo &MRI)
1919 namespace llvm {
2020
2121 class MCOperand;
22
23 class X86IntelInstPrinter : public MCInstPrinter {
22
23 class X86IntelInstPrinter final : public MCInstPrinter {
2424 public:
2525 X86IntelInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
2626 const MCRegisterInfo &MRI)
127127 isLeaMem(MI, Op);
128128 }
129129
130 class X86InstrInfo : public X86GenInstrInfo {
130 class X86InstrInfo final : public X86GenInstrInfo {
131131 X86TargetMachine &TM;
132132 const X86RegisterInfo RI;
133133
2323 class TargetInstrInfo;
2424 class X86TargetMachine;
2525
26 class X86RegisterInfo : public X86GenRegisterInfo {
26 class X86RegisterInfo final : public X86GenRegisterInfo {
2727 public:
2828 X86TargetMachine &TM;
2929
3838 };
3939 }
4040
41 class X86Subtarget : public X86GenSubtargetInfo {
41 class X86Subtarget final : public X86GenSubtargetInfo {
4242 protected:
4343 enum X86SSEEnum {
4444 NoMMXSSE, MMX, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42, AVX, AVX2, AVX512F
2626
2727 class StringRef;
2828
29 class X86TargetMachine : public LLVMTargetMachine {
29 class X86TargetMachine final : public LLVMTargetMachine {
3030 virtual void anchor();
3131 X86Subtarget Subtarget;
3232 X86FrameLowering FrameLowering;