[Lldb-commits] [lldb] [lldb] Remove declarations of non-existent constructors (NFC) (PR #191622)

via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 11 04:56:01 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Sergei Barannikov (s-barannikov)

<details>
<summary>Changes</summary>

They have never existed since the initial public checkin.

---
Full diff: https://github.com/llvm/llvm-project/pull/191622.diff


1 Files Affected:

- (modified) lldb/include/lldb/Target/ExecutionContext.h (-23) 


``````````diff
diff --git a/lldb/include/lldb/Target/ExecutionContext.h b/lldb/include/lldb/Target/ExecutionContext.h
index 47bcd729abcdd..bf976f4db8c87 100644
--- a/lldb/include/lldb/Target/ExecutionContext.h
+++ b/lldb/include/lldb/Target/ExecutionContext.h
@@ -110,29 +110,6 @@ class ExecutionContextRef {
   /// frame.
   ExecutionContextRef(Thread *thread, bool adopt_selected);
 
-  /// Construct using an execution context scope.
-  ///
-  /// If the ExecutionContextScope object is valid and refers to a frame, make
-  /// weak references too the frame, thread, process and target. If the
-  /// ExecutionContextScope object is valid and refers to a thread, make weak
-  /// references too the thread, process and target. If the
-  /// ExecutionContextScope object is valid and refers to a process, make weak
-  /// references too the process and target. If the ExecutionContextScope
-  /// object is valid and refers to a target, make weak references too the
-  /// target.
-  ExecutionContextRef(ExecutionContextScope *exe_scope);
-
-  /// Construct using an execution context scope.
-  ///
-  /// If the ExecutionContextScope object refers to a frame, make weak
-  /// references too the frame, thread, process and target. If the
-  /// ExecutionContextScope object refers to a thread, make weak references
-  /// too the thread, process and target. If the ExecutionContextScope object
-  /// refers to a process, make weak references too the process and target. If
-  /// the ExecutionContextScope object refers to a target, make weak
-  /// references too the target.
-  ExecutionContextRef(ExecutionContextScope &exe_scope);
-
   ~ExecutionContextRef();
 
   /// Assignment operator

``````````

</details>


https://github.com/llvm/llvm-project/pull/191622


More information about the lldb-commits mailing list