diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:57:13 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:57:13 +0000 |
| commit | b0c941bebd251611303a1e14639dbd2c3ada871f (patch) | |
| tree | a525065f40205810174ad375093adad0f30cf813 /llvm/lib/Target/Sparc/DelaySlotFiller.cpp | |
| parent | 60879a3c76bc7b13cf4a29cb91b854c2d822856a (diff) | |
| download | bcm5719-llvm-b0c941bebd251611303a1e14639dbd2c3ada871f.tar.gz bcm5719-llvm-b0c941bebd251611303a1e14639dbd2c3ada871f.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. Sparc edition
llvm-svn: 207502
Diffstat (limited to 'llvm/lib/Target/Sparc/DelaySlotFiller.cpp')
| -rw-r--r-- | llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp index 7a828433599..f3441ffcf6a 100644 --- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp @@ -50,12 +50,12 @@ namespace { Subtarget(&TM.getSubtarget<SparcSubtarget>()) { } - virtual const char *getPassName() const { + const char *getPassName() const override { return "SPARC Delay Slot Filler"; } bool runOnMachineBasicBlock(MachineBasicBlock &MBB); - bool runOnMachineFunction(MachineFunction &F) { + bool runOnMachineFunction(MachineFunction &F) override { bool Changed = false; // This pass invalidates liveness information when it reorders |

