Author: Kazu Hirata Date: 2025-07-30T07:30:30-07:00 New Revision: 5327eeb0bf4eed084b1761cd1b14f3f335383e95
URL: https://github.com/llvm/llvm-project/commit/5327eeb0bf4eed084b1761cd1b14f3f335383e95 DIFF: https://github.com/llvm/llvm-project/commit/5327eeb0bf4eed084b1761cd1b14f3f335383e95.diff LOG: [lldb] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#151283) Added: Modified: lldb/source/Interpreter/ScriptInterpreter.cpp Removed: ################################################################################ diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp index 5ee19ffda0a0b..6a654a0dafe5b 100644 --- a/lldb/source/Interpreter/ScriptInterpreter.cpp +++ b/lldb/source/Interpreter/ScriptInterpreter.cpp @@ -119,7 +119,7 @@ lldb::StreamSP ScriptInterpreter::GetOpaqueTypeFromSBStream( SymbolContext ScriptInterpreter::GetOpaqueTypeFromSBSymbolContext( const lldb::SBSymbolContext &sb_sym_ctx) const { if (sb_sym_ctx.m_opaque_up) - return *sb_sym_ctx.m_opaque_up.get(); + return *sb_sym_ctx.m_opaque_up; return {}; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits