diff options
-rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index d085c36b4a1..07accbf54d3 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -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(); } |