Move forward declarations to the top of the file and sort.

llvm-svn: 345094
This commit is contained in:
Rui Ueyama
2018-10-23 22:37:14 +00:00
parent b0de6c742a
commit 02c7fae348

View File

@@ -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) {}