forked from OSchip/llvm-project
update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to match the clang update (r202346) on ASTContext
llvm-svn: 202376
This commit is contained in:
parent
55cc48f403
commit
7ba631f651
|
@ -356,7 +356,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
|
|||
|
||||
if (decl_map)
|
||||
{
|
||||
llvm::OwningPtr<clang::ExternalASTSource> ast_source(decl_map->CreateProxy());
|
||||
llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> ast_source(decl_map->CreateProxy());
|
||||
decl_map->InstallASTContext(ast_context.get());
|
||||
ast_context->setExternalSource(ast_source);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue