[Lldb-commits] [lldb] [lldb] Add Status::Detail to store expression evaluator diagnostics [… (PR #106442)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 28 12:46:45 PDT 2024
================
@@ -47,7 +48,34 @@ class Status {
/// into ValueType.
typedef uint32_t ValueType;
- Status();
+ /// A customizable "detail" for an error. For example, expression
+ /// evaluation failures often have more than one diagnostic that the
+ /// UI layer might want to render differently.
+ ///
+ /// Running example:
+ /// (lldb) expr 1+x
----------------
jimingham wrote:
You aren't consistent with the identifier: `foo` or `x`
https://github.com/llvm/llvm-project/pull/106442
More information about the lldb-commits
mailing list