diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:02 +0000 |
commit | 56c590af3b4fe68fe3eefd73c6c027c4a9b7314b (patch) | |
tree | 6587ea65808c3ae10004fe63876fc1f6ec722c2e /llvm/lib/Target/Mips/Mips16FrameLowering.h | |
parent | 2865c986d160306fd297a276f51ac48e68c95597 (diff) | |
download | bcm5719-llvm-56c590af3b4fe68fe3eefd73c6c027c4a9b7314b.tar.gz bcm5719-llvm-56c590af3b4fe68fe3eefd73c6c027c4a9b7314b.zip |
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition
llvm-svn: 207506
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16FrameLowering.h')
-rw-r--r-- | llvm/lib/Target/Mips/Mips16FrameLowering.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/Target/Mips/Mips16FrameLowering.h b/llvm/lib/Target/Mips/Mips16FrameLowering.h index 8ce2ceda7c7..3f7829dd6b3 100644 --- a/llvm/lib/Target/Mips/Mips16FrameLowering.h +++ b/llvm/lib/Target/Mips/Mips16FrameLowering.h @@ -24,27 +24,27 @@ public: /// emitProlog/emitEpilog - These methods insert prolog and epilog code into /// the function. - void emitPrologue(MachineFunction &MF) const; - void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; + void emitPrologue(MachineFunction &MF) const override; + void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; void eliminateCallFramePseudoInstr(MachineFunction &MF, - MachineBasicBlock &MBB, - MachineBasicBlock::iterator I) const; + MachineBasicBlock &MBB, + MachineBasicBlock::iterator I) const override; bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, - const TargetRegisterInfo *TRI) const; + const TargetRegisterInfo *TRI) const override; bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, - MachineBasicBlock::iterator MI, - const std::vector<CalleeSavedInfo> &CSI, - const TargetRegisterInfo *TRI) const; + MachineBasicBlock::iterator MI, + const std::vector<CalleeSavedInfo> &CSI, + const TargetRegisterInfo *TRI) const override; - bool hasReservedCallFrame(const MachineFunction &MF) const; + bool hasReservedCallFrame(const MachineFunction &MF) const override; void processFunctionBeforeCalleeSavedScan(MachineFunction &MF, - RegScavenger *RS) const; + RegScavenger *RS) const override; }; } // End llvm namespace |