[Lldb-commits] [lldb] [lldb] Upgrade `GetIndexOfChildWithName` to use `llvm::Expected` (PR #136693)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 24 04:43:31 PDT 2025
================
@@ -418,8 +420,10 @@ lldb_private::formatters::LibcxxUniquePtrSyntheticFrontEnd::
return 1;
if (name == "$$dereference$$")
return 2;
- return llvm::createStringError("Cannot find index of child '%s'",
- name.AsCString());
+ return llvm::createStringError(
+ "'ScriptedSyntheticChildren::LibcxxUniquePtrSyntheticFrontEnd' cannot "
----------------
Michael137 wrote:
```suggestion
"'LibcxxUniquePtrSyntheticFrontEnd' cannot "
```
https://github.com/llvm/llvm-project/pull/136693
More information about the lldb-commits
mailing list