diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-06 17:50:34 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-06 17:50:34 +0000 |
commit | 98f0af4b3e22092cf1770a72a81cbd0f88017f22 (patch) | |
tree | 0b613864280bb62d196c275d8c039c65a0fd8e60 /clang/examples | |
parent | 2376c392f78f5a0094dbb5dbb980438dd7bd5f7a (diff) | |
download | bcm5719-llvm-98f0af4b3e22092cf1770a72a81cbd0f88017f22.tar.gz bcm5719-llvm-98f0af4b3e22092cf1770a72a81cbd0f88017f22.zip |
Revert "Fix examples for recent shared_ptrification"
(should've rolled in to this revert of the CompilerInstance change in
the first place... anyway)
This reverts commit r291185.
llvm-svn: 291252
Diffstat (limited to 'clang/examples')
-rw-r--r-- | clang/examples/clang-interpreter/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp index f7832291f2b..9b4a257bcba 100644 --- a/clang/examples/clang-interpreter/main.cpp +++ b/clang/examples/clang-interpreter/main.cpp @@ -145,7 +145,7 @@ int main(int argc, const char **argv, char * const *envp) { // Create a compiler instance to handle the actual work. CompilerInstance Clang; - Clang.setInvocation(std::move(CI)); + Clang.setInvocation(CI.release()); // Create the compilers actual diagnostics engine. Clang.createDiagnostics(); |