From 7ba631f65153180be4eaa9af2cf52a9c9488ea22 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 27 Feb 2014 10:46:57 +0000 Subject: update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to match the clang update (r202346) on ASTContext llvm-svn: 202376 --- lldb/source/Expression/ClangExpressionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 615f29fd0c7..c4152d08e20 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -356,7 +356,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope, if (decl_map) { - llvm::OwningPtr ast_source(decl_map->CreateProxy()); + llvm::IntrusiveRefCntPtr ast_source(decl_map->CreateProxy()); decl_map->InstallASTContext(ast_context.get()); ast_context->setExternalSource(ast_source); } -- cgit v1.2.1