r203390 - Fix build break, replace take() with release().

Ahmed Charles ahmedcharles at gmail.com
Sun Mar 9 04:46:33 PDT 2014


Author: ace2001ac
Date: Sun Mar  9 06:46:32 2014
New Revision: 203390

URL: http://llvm.org/viewvc/llvm-project?rev=203390&view=rev
Log:
Fix build break, replace take() with release().

Modified:
    cfe/trunk/examples/clang-interpreter/main.cpp

Modified: cfe/trunk/examples/clang-interpreter/main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/main.cpp?rev=203390&r1=203389&r2=203390&view=diff
==============================================================================
--- cfe/trunk/examples/clang-interpreter/main.cpp (original)
+++ cfe/trunk/examples/clang-interpreter/main.cpp Sun Mar  9 06:46:32 2014
@@ -126,7 +126,7 @@ int main(int argc, const char **argv, ch
 
   // 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();





More information about the cfe-commits mailing list