[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
Thu Sep 5 02:30:07 PDT 2024


labath wrote:

> Wasn't half as bad. @labath This update introduces a `ClonableError` base class. This will enable us (after a bit more refactoring) to move the various Error subclass declarations closer to where they are needed. Right now the ErrorFromEnums() method still prevents that.

I think that's fine. We can do something about that, and at least it enables us to avoid adding new error types to this file.

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


More information about the lldb-commits mailing list