Change OwningPtr::take() to OwningPtr::release().
This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user