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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-07-03 23:03:50 +00:00
parent 040dd45116
commit ab419e6d0c
3 changed files with 5 additions and 5 deletions

View File

@ -142,10 +142,6 @@ public:
}
// construction aux.
static ErrorOr<SymbolicFile *>
createIRObjectFile(std::unique_ptr<MemoryBuffer> Object,
LLVMContext &Context);
static ErrorOr<SymbolicFile *>
createSymbolicFile(std::unique_ptr<MemoryBuffer> &Object,
sys::fs::file_magic Type, LLVMContext *Context);