From: Ahmed Charles Date: Sun, 9 Mar 2014 11:46:32 +0000 (+0000) Subject: Fix build break, replace take() with release(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68c37ba379eb9e72bd2f706cbefe172a31a440e0;p=clang Fix build break, replace take() with release(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203390 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp index 676be02e07..713a650b90 100644 --- a/examples/clang-interpreter/main.cpp +++ b/examples/clang-interpreter/main.cpp @@ -126,7 +126,7 @@ int main(int argc, const char **argv, char * const *envp) { // Create a compiler instance to handle the actual work. CompilerInstance Clang; - Clang.setInvocation(CI.take()); + Clang.setInvocation(CI.release()); // Create the compilers actual diagnostics engine. Clang.createDiagnostics();