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/DwarfDebug.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/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index b8cfdd354b1..d76ba490cb9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -702,19 +702,19 @@ public: void beginModule(); /// \brief Emit all Dwarf sections that should come after the content. - void endModule(); + void endModule() override; /// \brief Gather pre-function debug information. - void beginFunction(const MachineFunction *MF); + void beginFunction(const MachineFunction *MF) override; /// \brief Gather and emit post-function debug information. - void endFunction(const MachineFunction *MF); + void endFunction(const MachineFunction *MF) override; /// \brief Process beginning of an instruction. - void beginInstruction(const MachineInstr *MI); + void beginInstruction(const MachineInstr *MI) override; /// \brief Process end of an instruction. - void endInstruction(); + void endInstruction() override; /// \brief Add a DIE to the set of types that we're going to pull into /// type units. @@ -726,7 +726,7 @@ public: /// \brief For symbols that have a size designated (e.g. common symbols), /// this tracks that size. - void setSymbolSize(const MCSymbol *Sym, uint64_t Size) { + void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override { SymSize[Sym] = Size; } |