[Lldb-commits] [lldb] [lldb-dap][NFC] Fix missing ampersand in the deleted constructor (PR #181818)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 17 05:22:09 PST 2026


https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/181818

Fails to compile when cross compiling

>From dcf94e581bc0c19793d92d8f7714fea09c67f32a Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <yerimyah1 at gmail.com>
Date: Tue, 17 Feb 2026 13:19:48 +0000
Subject: [PATCH] [lldb-dap][NFC] Fix missing ampersand in the deleted
 constructor

---
 lldb/tools/lldb-dap/Variables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/tools/lldb-dap/Variables.h b/lldb/tools/lldb-dap/Variables.h
index d887648fbc672..109e6f9077346 100644
--- a/lldb/tools/lldb-dap/Variables.h
+++ b/lldb/tools/lldb-dap/Variables.h
@@ -58,7 +58,7 @@ class VariableStore {
 
   // Not copyable.
   VariableStore(const VariableStore &) = delete;
-  VariableStore operator=(const VariableStore &) = delete;
+  VariableStore &operator=(const VariableStore &) = delete;
   VariableStore(VariableStore &&) = default;
   VariableStore &operator=(VariableStore &&) = default;
 };



More information about the lldb-commits mailing list