diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index e5f464ff1fd5..fe092b27d6f0 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -31,7 +31,6 @@ namespace elf { class Defined; class InputSection; class InputSectionBase; -class InputSectionBase; class OutputSection; class SectionBase; class Symbol; diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h index 8c9a8f8f2e76..6e93e0a144d9 100644 --- a/lld/ELF/SymbolTable.h +++ b/lld/ELF/SymbolTable.h @@ -17,14 +17,6 @@ namespace lld { namespace elf { -class CommonSymbol; -class Defined; -class LazyArchive; -class LazyObject; -class SectionBase; -class SharedSymbol; -class Undefined; - // SymbolTable is a bucket of all known symbols, including defined, // undefined, or lazy symbols (the last one is symbols in archive // files whose archive members are not yet loaded).