diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-07 01:25:01 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-04-07 01:25:01 +0000 |
| commit | 7f91d44fba05d99793fa7d8709fbe87558a861fe (patch) | |
| tree | 737b80aaff106dbf172723e1c3297a66ea6dc078 /lld/ELF/LinkerScript.cpp | |
| parent | 78495ea7c03fdaab099d8fd5b221fe37e70548e8 (diff) | |
| download | bcm5719-llvm-7f91d44fba05d99793fa7d8709fbe87558a861fe.tar.gz bcm5719-llvm-7f91d44fba05d99793fa7d8709fbe87558a861fe.zip | |
Remove unnecessary cast.
llvm-svn: 299740
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 019c4e8df2b..7776889eaab 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -333,7 +333,7 @@ LinkerScript::createInputSectionList(OutputSectionCommand &OutCmd) { Cmd->Sections = computeInputSections(Cmd); for (InputSectionBase *S : Cmd->Sections) - Ret.push_back(static_cast<InputSectionBase *>(S)); + Ret.push_back(S); } return Ret; |

