summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430BranchSelector.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-29 07:58:09 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-29 07:58:09 +0000
commite17a0260a8fc1c69a010ba5623239403d2e03171 (patch)
tree115eabc93c717aff15d6e803c07662639afe5a01 /lib/Target/MSP430/MSP430BranchSelector.cpp
parent91b10fb0e9c610a9d992e51897397a16e1b87530 (diff)
downloadllvm-e17a0260a8fc1c69a010ba5623239403d2e03171.tar.gz
llvm-e17a0260a8fc1c69a010ba5623239403d2e03171.tar.bz2
llvm-e17a0260a8fc1c69a010ba5623239403d2e03171.tar.xz
[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. MSP430 edition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430BranchSelector.cpp')
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MSP430/MSP430BranchSelector.cpp b/lib/Target/MSP430/MSP430BranchSelector.cpp
index d33d35c5cf..a96930a098 100644
--- a/lib/Target/MSP430/MSP430BranchSelector.cpp
+++ b/lib/Target/MSP430/MSP430BranchSelector.cpp
@@ -36,9 +36,9 @@ namespace {
/// BlockSizes - The sizes of the basic blocks in the function.
std::vector<unsigned> BlockSizes;
- virtual bool runOnMachineFunction(MachineFunction &Fn);
+ bool runOnMachineFunction(MachineFunction &Fn) override;
- virtual const char *getPassName() const {
+ const char *getPassName() const override {
return "MSP430 Branch Selector";
}
};