Move createIRObjectFile to the IRObjectFile class and return the concrete type.

llvm-svn: 212301
This commit is contained in:
Rafael Espindola
2014-07-03 23:03:50 +00:00
parent 19cff8205e
commit 30f37f5fc4
3 changed files with 5 additions and 5 deletions

View File

@@ -263,7 +263,7 @@ basic_symbol_iterator IRObjectFile::symbol_end_impl() const {
return basic_symbol_iterator(BasicSymbolRef(Ret, this));
}
ErrorOr<SymbolicFile *> llvm::object::SymbolicFile::createIRObjectFile(
ErrorOr<IRObjectFile *> llvm::object::IRObjectFile::createIRObjectFile(
std::unique_ptr<MemoryBuffer> Object, LLVMContext &Context) {
std::error_code EC;
std::unique_ptr<IRObjectFile> Ret(