diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:25 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:25 +0000 |
| commit | f85b7fc1971dde03d4582f9c31d00bf297458159 (patch) | |
| tree | aa3743f347f14a983341c7f55c710398a6a284ad /llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp | |
| parent | 906c2cd2e67d5462d0eabf3e19fb42849b67be05 (diff) | |
| download | bcm5719-llvm-f85b7fc1971dde03d4582f9c31d00bf297458159.tar.gz bcm5719-llvm-f85b7fc1971dde03d4582f9c31d00bf297458159.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. ARM64 edition
llvm-svn: 207509
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp b/llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp index 06c6733ee6f..cbe97edde27 100644 --- a/llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp +++ b/llvm/lib/Target/ARM64/ARM64BranchRelaxation.cpp @@ -94,9 +94,9 @@ public: static char ID; ARM64BranchRelaxation() : MachineFunctionPass(ID) {} - virtual bool runOnMachineFunction(MachineFunction &MF); + bool runOnMachineFunction(MachineFunction &MF) override; - virtual const char *getPassName() const { + const char *getPassName() const override { return "ARM64 branch relaxation pass"; } }; |

