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 | 95fe8f8c7da9f8b233457c976aec93c5664272cd (patch) | |
tree | 5526a581521880166c46a99594642704b043aa02 /examples | |
parent | 471e0b27d79c13f6c350c555e41668cc66d69a26 (diff) | |
download | clang-95fe8f8c7da9f8b233457c976aec93c5664272cd.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291252 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 f7832291f2..9b4a257bcb 100644 --- a/examples/clang-interpreter/main.cpp +++ b/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(); |