summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-12-09 20:36:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-12-09 20:36:13 +0000
commit5dec7eaae2b3021b0858b5346c96f6b0001e3712 (patch)
tree1f47d9b1ad620e5dd822becc8471e8b2936a997a /llvm/lib/Object/IRObjectFile.cpp
parent4af437fee55a6c7427c9c84f4f1191b70946dbd1 (diff)
downloadbcm5719-llvm-5dec7eaae2b3021b0858b5346c96f6b0001e3712.tar.gz
bcm5719-llvm-5dec7eaae2b3021b0858b5346c96f6b0001e3712.zip
Rename createIRObjectFile to just create.
It is a static method of IRObjectFile, so having to use IRObjectFile::createIRObjectFile was redundant. llvm-svn: 223822
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
-rw-r--r--llvm/lib/Object/IRObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp
index 185b783e350..d9e461050ed 100644
--- a/llvm/lib/Object/IRObjectFile.cpp
+++ b/llvm/lib/Object/IRObjectFile.cpp
@@ -290,8 +290,8 @@ ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Ob
}
ErrorOr<std::unique_ptr<IRObjectFile>>
-llvm::object::IRObjectFile::createIRObjectFile(MemoryBufferRef Object,
- LLVMContext &Context) {
+llvm::object::IRObjectFile::create(MemoryBufferRef Object,
+ LLVMContext &Context) {
ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object);
if (!BCOrErr)
return BCOrErr.getError();
OpenPOWER on IntegriCloud