Track IntrusiveRefCntPtr::get() changes from LLVM r212366

llvm-svn: 212368
This commit is contained in:
Alp Toker 2014-07-05 03:06:05 +00:00
parent 573583e2f2
commit edc902f3bb
1 changed files with 3 additions and 3 deletions

View File

@ -502,14 +502,14 @@ ClangASTContext::getDiagnosticConsumer()
TargetOptions *
ClangASTContext::getTargetOptions()
{
if (m_target_options_rp.getPtr() == nullptr && !m_target_triple.empty())
if (m_target_options_rp.get() == nullptr && !m_target_triple.empty())
{
m_target_options_rp.reset ();
m_target_options_rp = new TargetOptions();
if (m_target_options_rp.getPtr() != nullptr)
if (m_target_options_rp.get() != nullptr)
m_target_options_rp->Triple = m_target_triple;
}
return m_target_options_rp.getPtr();
return m_target_options_rp.get();
}