[lld] r345094 - Move forward declarations to the top of the file and sort.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 23 15:37:14 PDT 2018
Author: ruiu
Date: Tue Oct 23 15:37:14 2018
New Revision: 345094
URL: http://llvm.org/viewvc/llvm-project?rev=345094&view=rev
Log:
Move forward declarations to the top of the file and sort.
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=345094&r1=345093&r2=345094&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Tue Oct 23 15:37:14 2018
@@ -30,12 +30,13 @@ namespace lld {
namespace elf {
class Defined;
-class Symbol;
-class InputSectionBase;
class InputSection;
-class OutputSection;
class InputSectionBase;
+class InputSectionBase;
+class OutputSection;
class SectionBase;
+class Symbol;
+class ThunkSection;
// This represents an r-value in the linker script.
struct ExprValue {
@@ -153,7 +154,6 @@ struct SectionPattern {
SortSectionPolicy SortInner;
};
-class ThunkSection;
struct InputSectionDescription : BaseCommand {
InputSectionDescription(StringRef FilePattern)
: BaseCommand(InputSectionKind), FilePat(FilePattern) {}
More information about the llvm-commits
mailing list