[ELF] Delete unused forward declarations and unused DynamicReloc::getInputSec(). NFC

llvm-svn: 356239
This commit is contained in:
Fangrui Song 2019-03-15 07:16:39 +00:00
parent 3e0da146ac
commit f9695e166b
4 changed files with 0 additions and 20 deletions

View File

@ -22,17 +22,8 @@ namespace lld {
namespace elf {
struct PhdrEntry;
class Symbol;
struct EhSectionPiece;
class EhInputSection;
class InputSection;
class InputSectionBase;
class MergeInputSection;
class OutputSection;
template <class ELFT> class ObjFile;
template <class ELFT> class SharedFile;
class SharedSymbol;
class Defined;
// This represents a section in an output file.
// It is composed of multiple InputSections.

View File

@ -30,13 +30,6 @@ std::string toString(const elf::InputFile *);
namespace elf {
class ArchiveFile;
class BitcodeFile;
class BssSection;
class InputFile;
class LazyObjFile;
template <class ELFT> class ObjFile;
class OutputSection;
template <class ELFT> class SharedFile;
// This is a StringRef-like container that doesn't run strlen().

View File

@ -31,7 +31,6 @@
namespace lld {
namespace elf {
class Defined;
class SharedSymbol;
class SyntheticSection : public InputSection {
public:
@ -418,7 +417,6 @@ public:
uint64_t getOffset() const;
uint32_t getSymIndex() const;
const InputSectionBase *getInputSec() const { return InputSec; }
// Computes the addend of the dynamic relocation. Note that this is not the
// same as the Addend member variable as it also includes the symbol address

View File

@ -19,8 +19,6 @@ namespace elf {
class InputFile;
class OutputSection;
class InputSectionBase;
template <class ELFT> class ObjFile;
class SymbolTable;
template <class ELFT> void writeResult();
// This describes a program header entry.