diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-03-10 02:09:33 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-03-10 02:09:33 +0000 |
| commit | 6bc27bf35957b511c26e97d3b872fe7922f69ad0 (patch) | |
| tree | b8c4cee952e99fc3b30a5e5af43285ea7df35d35 /llvm/lib/Target/ARM/Thumb1InstrInfo.h | |
| parent | 245b7fd3f26f6c2e04f1aec68b5e9b3138a7de7d (diff) | |
| download | bcm5719-llvm-6bc27bf35957b511c26e97d3b872fe7922f69ad0.tar.gz bcm5719-llvm-6bc27bf35957b511c26e97d3b872fe7922f69ad0.zip | |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203433
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb1InstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/ARM/Thumb1InstrInfo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/Thumb1InstrInfo.h b/llvm/lib/Target/ARM/Thumb1InstrInfo.h index 36af20492d4..2a23175902a 100644 --- a/llvm/lib/Target/ARM/Thumb1InstrInfo.h +++ b/llvm/lib/Target/ARM/Thumb1InstrInfo.h @@ -27,33 +27,33 @@ public: explicit Thumb1InstrInfo(const ARMSubtarget &STI); /// getNoopForMachoTarget - Return the noop instruction to use for a noop. - void getNoopForMachoTarget(MCInst &NopInst) const; + void getNoopForMachoTarget(MCInst &NopInst) const override; // Return the non-pre/post incrementing version of 'Opc'. Return 0 // if there is not such an opcode. - unsigned getUnindexedOpcode(unsigned Opc) const; + unsigned getUnindexedOpcode(unsigned Opc) const override; /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As /// such, whenever a client has an instance of instruction info, it should /// always be able to get register info as well (through this method). /// - const Thumb1RegisterInfo &getRegisterInfo() const { return RI; } + const Thumb1RegisterInfo &getRegisterInfo() const override { return RI; } void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, - bool KillSrc) const; + bool KillSrc) const override; void storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, - const TargetRegisterInfo *TRI) const; + const TargetRegisterInfo *TRI) const override; void loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, - const TargetRegisterInfo *TRI) const; + const TargetRegisterInfo *TRI) const override; }; } |

