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/MipsModuleISelDAGToDAG.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/MipsModuleISelDAGToDAG.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.h b/llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.h index fda35ae288b..a96862a6a11 100644 --- a/llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.h +++ b/llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.h @@ -41,15 +41,11 @@ public: TM(TM_), Subtarget(TM.getSubtarget<MipsSubtarget>()) {} // Pass Name - virtual const char *getPassName() const { + const char *getPassName() const override { return "MIPS DAG->DAG Pattern Instruction Selection"; } - virtual bool runOnMachineFunction(MachineFunction &MF); - - virtual SDNode *Select(SDNode *N) { - llvm_unreachable("unexpected"); - } + bool runOnMachineFunction(MachineFunction &MF) override; protected: /// Keep a pointer to the MipsSubtarget around so that we can make the right |