[Lldb-commits] [lldb] [lldb] Change the implementation of Status to store an llvm::Error (NFC) (PR #106774)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 5 13:43:43 PDT 2024
================
@@ -26,6 +26,52 @@ class raw_ostream;
namespace lldb_private {
+/// Going a bit against the spirit of llvm::Error,
+/// lldb_private::Status need to store errors long-term and sometimes
+/// copy them. This base class defines an interface for this
+/// operation.
+class CloneableError
+ : public llvm::ErrorInfo<CloneableError, llvm::StringError> {
----------------
adrian-prantl wrote:
Done.
https://github.com/llvm/llvm-project/pull/106774
More information about the lldb-commits
mailing list