[LLD][ELF] - Use auto. NFC.

This addresses the missed review comment.

llvm-svn: 348480
This commit is contained in:
George Rimar 2018-12-06 10:56:11 +00:00
parent a1ff820992
commit e1fd3f940b
1 changed files with 1 additions and 1 deletions

View File

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