forked from OSchip/llvm-project
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
This commit is contained in:
parent
2376c392f7
commit
98f0af4b3e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue