Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212368
This commit is contained in:
parent
573583e2f2
commit
edc902f3bb
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue