mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[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. Mips edition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,15 +41,11 @@ public:
|
||||
TM(TM_), Subtarget(TM.getSubtarget<MipsSubtarget>()) {}
|
||||
|
||||
// Pass Name
|
||||
virtual const char *getPassName() const {
|
||||
const char *getPassName() const override {
|
||||
return "MIPS DAG->DAG Pattern Instruction Selection";
|
||||
}
|
||||
|
||||
virtual bool runOnMachineFunction(MachineFunction &MF);
|
||||
|
||||
virtual SDNode *Select(SDNode *N) {
|
||||
llvm_unreachable("unexpected");
|
||||
}
|
||||
bool runOnMachineFunction(MachineFunction &MF) override;
|
||||
|
||||
protected:
|
||||
/// Keep a pointer to the MipsSubtarget around so that we can make the right
|
||||
|
Reference in New Issue
Block a user