[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 03:09:54 PDT 2024
================
@@ -39,8 +39,8 @@ using namespace lldb_private;
Status::Status() : m_string() {}
-Status::Status(ValueType err, ErrorType type)
- : m_code(err), m_type(type), m_string() {}
+Status::Status(ValueType err, ErrorType type, llvm::StringRef msg)
----------------
Michael137 wrote:
```suggestion
Status::Status(ValueType err, ErrorType type, std::string msg)
```
If you're going to sink it into `m_string` anyway?
https://github.com/llvm/llvm-project/pull/106163
More information about the lldb-commits
mailing list