[Lldb-commits] [lldb] [lldb] Turn lldb_private::Status into a value type. (PR #106163)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 27 10:34:06 PDT 2024
================
@@ -37,10 +37,10 @@ class raw_ostream;
using namespace lldb;
using namespace lldb_private;
-Status::Status() : m_string() {}
+Status::Status() {}
-Status::Status(ValueType err, ErrorType type)
- : m_code(err), m_type(type), m_string() {}
+Status::Status(ValueType err, ErrorType type, std::string msg)
+ : m_code(err), m_type(type), m_string(msg) {}
----------------
Michael137 wrote:
std::move (and below too)
https://github.com/llvm/llvm-project/pull/106163
More information about the lldb-commits
mailing list