https://github.com/kazutakahirata created 
https://github.com/llvm/llvm-project/pull/164191

None

>From cf21a5bd82a0582b2a140d6f2d71615e162e93b6 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <[email protected]>
Date: Sat, 18 Oct 2025 13:22:08 -0700
Subject: [PATCH] [lldb] Remove a redundant call to std::unique_ptr<T>::get
 (NFC)

---
 lldb/unittests/DAP/TestBase.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/unittests/DAP/TestBase.cpp b/lldb/unittests/DAP/TestBase.cpp
index 3721e09d8b699..83a303554ad6b 100644
--- a/lldb/unittests/DAP/TestBase.cpp
+++ b/lldb/unittests/DAP/TestBase.cpp
@@ -45,7 +45,7 @@ void TransportBase::SetUp() {
       /*client_name=*/"test_client",
       /*transport=*/*to_client, /*loop=*/loop);
 
-  auto server_handle = to_server->RegisterMessageHandler(loop, *dap.get());
+  auto server_handle = to_server->RegisterMessageHandler(loop, *dap);
   EXPECT_THAT_EXPECTED(server_handle, Succeeded());
   handles[0] = std::move(*server_handle);
 

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to