diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-08 06:31:39 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-08 06:31:39 +0000 |
commit | 7b883b314c84f7e9b12999438405f49f77919493 (patch) | |
tree | f4dedffd2cfe2c48a2cffac52e772cc7745de4cb /llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h | |
parent | cece9ccaf167b1ae7a16dfe1ab36587759f464c6 (diff) | |
download | bcm5719-llvm-7b883b314c84f7e9b12999438405f49f77919493.tar.gz bcm5719-llvm-7b883b314c84f7e9b12999438405f49f77919493.zip |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203339
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h b/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h index b79473b2fde..1f34c987cf3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h +++ b/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h @@ -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 |