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:
Sylvestre Ledru 2014-02-27 10:46:57 +00:00
parent 55cc48f403
commit 7ba631f651
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}