[Lldb-commits] [lldb] r212368 - Track IntrusiveRefCntPtr::get() changes from LLVM r212366

Alp Toker alp at nuanti.com
Fri Jul 4 20:06:06 PDT 2014


Author: alp
Date: Fri Jul  4 22:06:05 2014
New Revision: 212368

URL: http://llvm.org/viewvc/llvm-project?rev=212368&view=rev
Log:
Track IntrusiveRefCntPtr::get() changes from LLVM r212366

Modified:
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=212368&r1=212367&r2=212368&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Fri Jul  4 22:06:05 2014
@@ -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();
 }
 
 





More information about the lldb-commits mailing list