[C++11] Add 'override' keyword to virtual methods that override their base class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2014-03-08 06:31:39 +00:00
parent 50b59c77e0
commit d659d34219
19 changed files with 115 additions and 114 deletions

View File

@@ -122,22 +122,22 @@ public:
free(I->second);
}
virtual void setSymbolSize(const llvm::MCSymbol *, uint64_t) {}
void setSymbolSize(const llvm::MCSymbol *, uint64_t) override {}
/// \brief Emit the COFF section that holds the line table information.
virtual void endModule();
void endModule() override;
/// \brief Gather pre-function debug information.
virtual void beginFunction(const MachineFunction *MF);
void beginFunction(const MachineFunction *MF) override;
/// \brief Gather post-function debug information.
virtual void endFunction(const MachineFunction *);
void endFunction(const MachineFunction *) override;
/// \brief Process beginning of an instruction.
virtual void beginInstruction(const MachineInstr *MI);
void beginInstruction(const MachineInstr *MI) override;
/// \brief Process end of an instruction.
virtual void endInstruction() {}
void endInstruction() override {}
};
} // End of namespace llvm