Skip to content

Commit

Permalink
Expand auto whose real type is not obvious from context.
Browse files Browse the repository at this point in the history
llvm-svn: 248876
  • Loading branch information
rui314 committed Sep 30, 2015
1 parent 90b3daa commit d0e5aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/ELF/InputFiles.cpp
Expand Up @@ -181,7 +181,7 @@ SymbolBody *elf2::ObjectFile<ELFT>::createSymbolBody(StringRef StringTable,
}

void ArchiveFile::parse() {
auto ArchiveOrErr = Archive::create(MB);
ErrorOr<std::unique_ptr<Archive>> ArchiveOrErr = Archive::create(MB);
error(ArchiveOrErr, "Failed to parse archive");
File = std::move(*ArchiveOrErr);

Expand Down

0 comments on commit d0e5aeb

Please sign in to comment.