================
@@ -192,6 +198,9 @@ class ConstString {
return llvm::StringRef(m_string, GetLength());
}
+ /// Get the string value as a std::string
+ std::string GetString() const { return std::string(m_string, GetLength()); }
----------------
felipepiovezan wrote:
why is this necessary, if we have the explicit operator?
https://github.com/llvm/llvm-project/pull/79649
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits