[Lldb-commits] [lldb] [lldb] Store expression evaluator diagnostics in an llvm::Error (NFC) (PR #106442)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 27 00:10:29 PDT 2024


================
@@ -268,7 +243,7 @@ ErrorType Status::GetType() const {
       result = eErrorTypeMachKernel;
     else if (error.isA<Win32Error>())
       result = eErrorTypeWin32;
-    else if (error.isA<ExpressionError>())
+    else if (error.isA<ExpressionErrorBase>())
----------------
labath wrote:

I'm wondering if this would look nicer if we added a `GetLLDBErrorType` function to  our `ClonableError` class.

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


More information about the lldb-commits mailing list