summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/WinCOFFObjectWriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-08 07:02:02 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-08 07:02:02 +0000
commit34a61bc97ad8fca089aa7f4892d1592aa744a850 (patch)
treed738d8bac1dbdc537ccc3601154130184de978d2 /llvm/lib/MC/WinCOFFObjectWriter.cpp
parent7b883b314c84f7e9b12999438405f49f77919493 (diff)
downloadbcm5719-llvm-34a61bc97ad8fca089aa7f4892d1592aa744a850.tar.gz
bcm5719-llvm-34a61bc97ad8fca089aa7f4892d1592aa744a850.zip
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203340
Diffstat (limited to 'llvm/lib/MC/WinCOFFObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/WinCOFFObjectWriter.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/lib/MC/WinCOFFObjectWriter.cpp b/llvm/lib/MC/WinCOFFObjectWriter.cpp
index d0a014cca96..e41a6bdfca7 100644
--- a/llvm/lib/MC/WinCOFFObjectWriter.cpp
+++ b/llvm/lib/MC/WinCOFFObjectWriter.cpp
@@ -167,16 +167,14 @@ public:
// MCObjectWriter interface implementation.
- void ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLayout &Layout);
+ void ExecutePostLayoutBinding(MCAssembler &Asm,
+ const MCAsmLayout &Layout) override;
- void RecordRelocation(const MCAssembler &Asm,
- const MCAsmLayout &Layout,
- const MCFragment *Fragment,
- const MCFixup &Fixup,
- MCValue Target,
- uint64_t &FixedValue);
+ void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
+ const MCFragment *Fragment, const MCFixup &Fixup,
+ MCValue Target, uint64_t &FixedValue) override;
- void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout);
+ void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
};
}
OpenPOWER on IntegriCloud