mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
Expand auto whose real type is not obvious from context.
llvm-svn: 248876
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user