mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203433 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -69,9 +69,9 @@ namespace {
|
||||
RegScavenger *RS;
|
||||
bool isThumb2;
|
||||
|
||||
virtual bool runOnMachineFunction(MachineFunction &Fn);
|
||||
bool runOnMachineFunction(MachineFunction &Fn) override;
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
const char *getPassName() const override {
|
||||
return "ARM load / store optimization pass";
|
||||
}
|
||||
|
||||
@ -1550,9 +1550,9 @@ namespace {
|
||||
MachineRegisterInfo *MRI;
|
||||
MachineFunction *MF;
|
||||
|
||||
virtual bool runOnMachineFunction(MachineFunction &Fn);
|
||||
bool runOnMachineFunction(MachineFunction &Fn) override;
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
const char *getPassName() const override {
|
||||
return "ARM pre- register allocation load / store optimization pass";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user