[Lldb-commits] [lldb] [lldb] Change the implementation of Status to store an llvm::Error (NFC) (PR #106774)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 2 00:56:19 PDT 2024


================
@@ -97,7 +97,7 @@ class LLDB_API SBError {
   friend class lldb_private::ScriptInterpreter;
   friend class lldb_private::python::SWIGBridge;
 
-  SBError(const lldb_private::Status &error);
+  SBError(lldb_private::Status &&error);
----------------
labath wrote:

Changing the argument type will also change the mangled name, so I don't think that the access level matters here (what this is really doing is adding a new function and (simultaneously) removing an existing one. However, I don't think that should be a problem, since people shouldn't be using the lldb_private functions.

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


More information about the lldb-commits mailing list