Change OwningPtr::take() to OwningPtr::release().

This is a precursor to moving to std::unique_ptr.

llvm-svn: 203275
This commit is contained in:
Ahmed Charles
2014-03-07 19:33:25 +00:00
parent 9cbd3c628c
commit 9a16beb8bc
41 changed files with 100 additions and 112 deletions

View File

@@ -228,7 +228,7 @@ bool ToolInvocation::run() {
llvm::MemoryBuffer::getMemBuffer(It->getValue());
Invocation->getPreprocessorOpts().addRemappedFile(It->getKey(), Input);
}
return runInvocation(BinaryName, Compilation.get(), Invocation.take());
return runInvocation(BinaryName, Compilation.get(), Invocation.release());
}
bool ToolInvocation::runInvocation(