From: George Rimar Date: Thu, 18 Aug 2016 13:00:49 +0000 (+0000) Subject: [ELF] - Linkerscript: removed duplicate forward declarations, regrouped. NFC. X-Git-Tag: llvmorg-4.0.0-rc1~12090 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbb76dbde3d014af48f26f82b9904a20f210ba15;p=platform%2Fupstream%2Fllvm.git [ELF] - Linkerscript: removed duplicate forward declarations, regrouped. NFC. llvm-svn: 279060 --- diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 4cb9e99..b236fe0 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -20,6 +20,7 @@ namespace lld { namespace elf { +class ScriptParser; class SymbolBody; template class InputSectionBase; template class OutputSectionBase; @@ -33,10 +34,6 @@ typedef std::function Expr; // Config and ScriptConfig. void readLinkerScript(MemoryBufferRef MB); -class ScriptParser; -template class InputSectionBase; -template class OutputSectionBase; - // This enum is used to implement linker script SECTIONS command. // https://sourceware.org/binutils/docs/ld/SECTIONS.html#SECTIONS enum SectionsCommandKind {