[ELF] - Linkerscript: removed duplicate forward declarations, regrouped. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 18 Aug 2016 13:00:49 +0000 (13:00 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 18 Aug 2016 13:00:49 +0000 (13:00 +0000)
llvm-svn: 279060

lld/ELF/LinkerScript.h

index 4cb9e99..b236fe0 100644 (file)
@@ -20,6 +20,7 @@
 
 namespace lld {
 namespace elf {
+class ScriptParser;
 class SymbolBody;
 template <class ELFT> class InputSectionBase;
 template <class ELFT> class OutputSectionBase;
@@ -33,10 +34,6 @@ typedef std::function<uint64_t(uint64_t)> Expr;
 // Config and ScriptConfig.
 void readLinkerScript(MemoryBufferRef MB);
 
-class ScriptParser;
-template <class ELFT> class InputSectionBase;
-template <class ELFT> class OutputSectionBase;
-
 // This enum is used to implement linker script SECTIONS command.
 // https://sourceware.org/binutils/docs/ld/SECTIONS.html#SECTIONS
 enum SectionsCommandKind {