summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2014-02-27 10:46:57 +0000
committerSylvestre Ledru <sylvestre@debian.org>2014-02-27 10:46:57 +0000
commit7ba631f65153180be4eaa9af2cf52a9c9488ea22 (patch)
treed07e3348ea78d8468b5144a6206997f05b820d3a
parent55cc48f403ffab82888dd6a709aefcec37c3a03a (diff)
downloadbcm5719-llvm-7ba631f65153180be4eaa9af2cf52a9c9488ea22.tar.gz
bcm5719-llvm-7ba631f65153180be4eaa9af2cf52a9c9488ea22.zip
update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to match the clang update (r202346) on ASTContext
llvm-svn: 202376
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp2
1 files changed, 1 insertions, 1 deletions
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<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);
}
OpenPOWER on IntegriCloud