[lld] r246731 - Make getSymbols non-virtual. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 16:01:37 PDT 2015
Author: rafael
Date: Wed Sep 2 18:01:37 2015
New Revision: 246731
URL: http://llvm.org/viewvc/llvm-project?rev=246731&view=rev
Log:
Make getSymbols non-virtual. NFC.
Modified:
lld/trunk/ELF/InputFiles.h
Modified: lld/trunk/ELF/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.h?rev=246731&r1=246730&r2=246731&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.h (original)
+++ lld/trunk/ELF/InputFiles.h Wed Sep 2 18:01:37 2015
@@ -27,9 +27,6 @@ public:
Kind kind() const { return FileKind; }
virtual ~InputFile() {}
- // Returns symbols defined by this file.
- virtual ArrayRef<SymbolBody *> 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<SymbolBody *> getSymbols() override { return SymbolBodies; }
+ ArrayRef<SymbolBody *> getSymbols() { return SymbolBodies; }
virtual bool isCompatibleWith(const ObjectFileBase &Other) const = 0;
More information about the llvm-commits
mailing list