forked from OSchip/llvm-project
Expand `auto` whose real type is not obvious from context.
llvm-svn: 248876
This commit is contained in:
parent
90b3daaa5c
commit
d0e5aebf3a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue