]> granicus.if.org Git - clang/commitdiff
Fix build break, replace take() with release().
authorAhmed Charles <ahmedcharles@gmail.com>
Sun, 9 Mar 2014 11:46:32 +0000 (11:46 +0000)
committerAhmed Charles <ahmedcharles@gmail.com>
Sun, 9 Mar 2014 11:46:32 +0000 (11:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203390 91177308-0d34-0410-b5e6-96231b3b80d8

examples/clang-interpreter/main.cpp

index 676be02e075e180ef76070e785475249bdc25f8d..713a650b90b5b8e87eb351fd463ca83c54ef204d 100644 (file)
@@ -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();