[lld] r279060 - [ELF] - Linkerscript: removed duplicate forward declarations, regrouped. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 06:00:49 PDT 2016


Author: grimar
Date: Thu Aug 18 08:00:49 2016
New Revision: 279060

URL: http://llvm.org/viewvc/llvm-project?rev=279060&view=rev
Log:
[ELF] - Linkerscript: removed duplicate forward declarations, regrouped. NFC.

Modified:
    lld/trunk/ELF/LinkerScript.h

Modified: lld/trunk/ELF/LinkerScript.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.h?rev=279060&r1=279059&r2=279060&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Thu Aug 18 08:00:49 2016
@@ -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)
 // 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 {




More information about the llvm-commits mailing list