summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/SectCreateFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/SectCreateFile.h')
-rw-r--r--lld/lib/ReaderWriter/MachO/SectCreateFile.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lld/lib/ReaderWriter/MachO/SectCreateFile.h b/lld/lib/ReaderWriter/MachO/SectCreateFile.h
index ea16e69ab3c..2e6e97c5433 100644
--- a/lld/lib/ReaderWriter/MachO/SectCreateFile.h
+++ b/lld/lib/ReaderWriter/MachO/SectCreateFile.h
@@ -23,7 +23,6 @@ namespace mach_o {
//
class SectCreateFile : public File {
public:
-
class SectCreateAtom : public SimpleDefinedAtom {
public:
SectCreateAtom(const File &file, StringRef segName, StringRef sectName,
@@ -68,19 +67,19 @@ public:
new (allocator()) SectCreateAtom(*this, seg, sect, std::move(content)));
}
- const AtomVector<DefinedAtom> &defined() const {
+ const AtomVector<DefinedAtom> &defined() const override {
return _definedAtoms;
}
- const AtomVector<UndefinedAtom> &undefined() const {
+ const AtomVector<UndefinedAtom> &undefined() const override {
return _noUndefinedAtoms;
}
- const AtomVector<SharedLibraryAtom> &sharedLibrary() const {
+ const AtomVector<SharedLibraryAtom> &sharedLibrary() const override {
return _noSharedLibraryAtoms;
}
- const AtomVector<AbsoluteAtom> &absolute() const {
+ const AtomVector<AbsoluteAtom> &absolute() const override {
return _noAbsoluteAtoms;
}
OpenPOWER on IntegriCloud