diff options
author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-09 11:46:32 +0000 |
---|---|---|
committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-09 11:46:32 +0000 |
commit | 68c37ba379eb9e72bd2f706cbefe172a31a440e0 (patch) | |
tree | 2bf44536e66704806101bae5f785425148e6761c /examples | |
parent | f8b74ee5f07fc64f1154659b56e2fbf19dfcfc68 (diff) |
Fix build break, replace take() with release().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/clang-interpreter/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |