summaryrefslogtreecommitdiffstats
path: root/clang/examples/clang-interpreter/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/examples/clang-interpreter/main.cpp')
-rw-r--r--clang/examples/clang-interpreter/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp
index 676be02e075..713a650b90b 100644
--- a/clang/examples/clang-interpreter/main.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud