summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/DynamicFile.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-03-28 21:26:13 +0000
committerRui Ueyama <ruiu@google.com>2014-03-28 21:26:13 +0000
commit9d0698e0f2d502d44ccafd52e66a533b8d201126 (patch)
tree2c49a829d068c025ac4f454ca4b77feb057835d3 /lld/lib/ReaderWriter/ELF/DynamicFile.h
parentf83fe5a6dc56e03192a8dc0730618aaa746314f6 (diff)
downloadbcm5719-llvm-9d0698e0f2d502d44ccafd52e66a533b8d201126.tar.gz
bcm5719-llvm-9d0698e0f2d502d44ccafd52e66a533b8d201126.zip
[ELF] Add "override" and remove "virtual".
llvm-svn: 205056
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/DynamicFile.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/DynamicFile.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lld/lib/ReaderWriter/ELF/DynamicFile.h b/lld/lib/ReaderWriter/ELF/DynamicFile.h
index 4840257465f..3c24f7dc672 100644
--- a/lld/lib/ReaderWriter/ELF/DynamicFile.h
+++ b/lld/lib/ReaderWriter/ELF/DynamicFile.h
@@ -27,24 +27,24 @@ public:
static ErrorOr<std::unique_ptr<DynamicFile>>
create(std::unique_ptr<llvm::MemoryBuffer> mb, bool useShlibUndefines);
- virtual const atom_collection<DefinedAtom> &defined() const {
+ const atom_collection<DefinedAtom> &defined() const override {
return _definedAtoms;
}
- virtual const atom_collection<UndefinedAtom> &undefined() const {
+ const atom_collection<UndefinedAtom> &undefined() const override {
return _undefinedAtoms;
}
- virtual const atom_collection<SharedLibraryAtom> &sharedLibrary() const {
+ const atom_collection<SharedLibraryAtom> &sharedLibrary() const override {
return _sharedLibraryAtoms;
}
- virtual const atom_collection<AbsoluteAtom> &absolute() const {
+ const atom_collection<AbsoluteAtom> &absolute() const override {
return _absoluteAtoms;
}
- virtual const SharedLibraryAtom *exports(StringRef name,
- bool dataSymbolOnly) const {
+ const SharedLibraryAtom *exports(StringRef name,
+ bool dataSymbolOnly) const override {
assert(!dataSymbolOnly && "Invalid option for ELF exports!");
// See if we have the symbol.
auto sym = _nameToSym.find(name);
OpenPOWER on IntegriCloud