From e1fd3f940b331a07012a1d8092cbc99fcf08e497 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Thu, 6 Dec 2018 10:56:11 +0000 Subject: [PATCH] [LLD][ELF] - Use auto. NFC. This addresses the missed review comment. llvm-svn: 348480 --- lld/ELF/ScriptParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/ScriptParser.cpp b/lld/ELF/ScriptParser.cpp index 8140677..eee3f0e 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(Tok); + auto *ISD = make(Tok); ISD->SectionPatterns.push_back({{}, StringMatcher({"*"})}); Cmd->SectionCommands.push_back(ISD); } -- 2.7.4