From 8788e1a6309ea3b14dd3ee392b80ba52f20875b3 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 2 Sep 2015 23:01:37 +0000 Subject: [PATCH] Make getSymbols non-virtual. NFC. llvm-svn: 246731 --- lld/ELF/InputFiles.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h index 78996ee593d9..8a0a0be57b48 100644 --- a/lld/ELF/InputFiles.h +++ b/lld/ELF/InputFiles.h @@ -27,9 +27,6 @@ public: Kind kind() const { return FileKind; } virtual ~InputFile() {} - // Returns symbols defined by this file. - virtual ArrayRef getSymbols() = 0; - // Reads a file (constructors don't do that). virtual void parse() = 0; @@ -52,7 +49,7 @@ public: : InputFile(ObjectKind, M), EKind(EKind) {} static bool classof(const InputFile *F) { return F->kind() == ObjectKind; } - ArrayRef getSymbols() override { return SymbolBodies; } + ArrayRef getSymbols() { return SymbolBodies; } virtual bool isCompatibleWith(const ObjectFileBase &Other) const = 0;