diff options
author | Rui Ueyama <ruiu@google.com> | 2018-10-23 22:37:14 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-10-23 22:37:14 +0000 |
commit | 02c7fae348405c49d5c9e024cdf11400b054ea3e (patch) | |
tree | d09c7dd18959a13ec1f5737fc68bd3a1ac168798 | |
parent | b0de6c742af92fcdf3edbe15a4ab16d7f034c21e (diff) | |
download | bcm5719-llvm-02c7fae348405c49d5c9e024cdf11400b054ea3e.tar.gz bcm5719-llvm-02c7fae348405c49d5c9e024cdf11400b054ea3e.zip |
Move forward declarations to the top of the file and sort.
llvm-svn: 345094
-rw-r--r-- | lld/ELF/LinkerScript.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 3b790dd4669..1a0efa5ba73 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -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) {} |