aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:13 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:13 +0000
commitb0c941bebd251611303a1e14639dbd2c3ada871f (patch)
treea525065f40205810174ad375093adad0f30cf813 /llvm/lib/Target/Sparc/DelaySlotFiller.cpp
parent60879a3c76bc7b13cf4a29cb91b854c2d822856a (diff)
downloadllvm-b0c941bebd251611303a1e14639dbd2c3ada871f.zip
llvm-b0c941bebd251611303a1e14639dbd2c3ada871f.tar.gz
llvm-b0c941bebd251611303a1e14639dbd2c3ada871f.tar.bz2
[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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
index 7a82843..f3441ffcf 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