Skip to content
Snippets Groups Projects
Commit 68c37ba3 authored by Ahmed Charles's avatar Ahmed Charles
Browse files

Fix build break, replace take() with release().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203390 91177308-0d34-0410-b5e6-96231b3b80d8
parent f8b74ee5
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ int main(int argc, const char **argv, char * const *envp) { ...@@ -126,7 +126,7 @@ int main(int argc, const char **argv, char * const *envp) {
// Create a compiler instance to handle the actual work. // Create a compiler instance to handle the actual work.
CompilerInstance Clang; CompilerInstance Clang;
Clang.setInvocation(CI.take()); Clang.setInvocation(CI.release());
// Create the compilers actual diagnostics engine. // Create the compilers actual diagnostics engine.
Clang.createDiagnostics(); Clang.createDiagnostics();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment