From 789a4f820d8ce0e21a268b996b036be78a1773a2 Mon Sep 17 00:00:00 2001 From: Ahmed Charles Date: Fri, 7 Mar 2014 19:33:25 +0000 Subject: Change OwningPtr::take() to OwningPtr::release(). This is a precursor to moving to std::unique_ptr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203275 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CreateInvocationFromCommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp') diff --git a/lib/Frontend/CreateInvocationFromCommandLine.cpp b/lib/Frontend/CreateInvocationFromCommandLine.cpp index 78f39d4298..62a89fa130 100644 --- a/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -85,5 +85,5 @@ clang::createInvocationFromCommandLine(ArrayRef ArgList, CCArgs.size(), *Diags)) return 0; - return CI.take(); + return CI.release(); } -- cgit v1.2.3