summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Target.cpp
diff options
context:
space:
mode:
authorTodd Fiala <tfiala@google.com>2014-02-27 17:18:23 +0000
committerTodd Fiala <tfiala@google.com>2014-02-27 17:18:23 +0000
commit955fe6f6eda9a740dbaadb7a67a2fa48ceb88049 (patch)
treed8e64d5e1778991bde5236b459068768c7815864 /lldb/source/Target/Target.cpp
parente8c311a40c7f2eb64d5c253b38010feec4698fd5 (diff)
downloadbcm5719-llvm-955fe6f6eda9a740dbaadb7a67a2fa48ceb88049.tar.gz
bcm5719-llvm-955fe6f6eda9a740dbaadb7a67a2fa48ceb88049.zip
Fix build break due to signature change on ASTContext' setExternalSource parameter.
This change converts points to clang::ExternalASTSource from llvm::OwningPtr<> to llvm::IntrusiveRefCntPtr<>. llvm-svn: 202411
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r--lldb/source/Target/Target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index e7816266b41..79454b27bb7 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -1765,7 +1765,7 @@ Target::GetScratchClangASTContext(bool create_on_demand)
m_scratch_ast_context_ap.reset (new ClangASTContext(m_arch.GetTriple().str().c_str()));
m_scratch_ast_source_ap.reset (new ClangASTSource(shared_from_this()));
m_scratch_ast_source_ap->InstallASTContext(m_scratch_ast_context_ap->getASTContext());
- llvm::OwningPtr<clang::ExternalASTSource> proxy_ast_source(m_scratch_ast_source_ap->CreateProxy());
+ llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> proxy_ast_source(m_scratch_ast_source_ap->CreateProxy());
m_scratch_ast_context_ap->SetExternalSource(proxy_ast_source);
}
return m_scratch_ast_context_ap.get();
OpenPOWER on IntegriCloud