diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-12-06 10:56:11 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-12-06 10:56:11 +0000 |
commit | e1fd3f940b331a07012a1d8092cbc99fcf08e497 (patch) | |
tree | 98ff9c5990d3b25c63f37ac0b5f3281bf9257ad9 /lld/ELF/ScriptParser.cpp | |
parent | a1ff820992ffb5771c4e1e996c63adff824f609e (diff) | |
download | bcm5719-llvm-e1fd3f940b331a07012a1d8092cbc99fcf08e497.tar.gz bcm5719-llvm-e1fd3f940b331a07012a1d8092cbc99fcf08e497.zip |
[LLD][ELF] - Use auto. NFC.
This addresses the missed review comment.
llvm-svn: 348480
Diffstat (limited to 'lld/ELF/ScriptParser.cpp')
-rw-r--r-- | lld/ELF/ScriptParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/ScriptParser.cpp b/lld/ELF/ScriptParser.cpp index 8140677c39b..eee3f0e330c 100644 --- a/lld/ELF/ScriptParser.cpp +++ b/lld/ELF/ScriptParser.cpp @@ -857,7 +857,7 @@ OutputSection *ScriptParser::readOutputSectionDescription(StringRef OutSec) { // We have a file name and no input sections description. It is not a // commonly used syntax, but still acceptable. In that case, all sections // from the file will be included. - InputSectionDescription *ISD = make<InputSectionDescription>(Tok); + auto *ISD = make<InputSectionDescription>(Tok); ISD->SectionPatterns.push_back({{}, StringMatcher({"*"})}); Cmd->SectionCommands.push_back(ISD); } |