[Lldb-commits] [lldb] [lldb] switch to CalculateNumChildren where possible (PR #142607)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 3 08:00:50 PDT 2025
https://github.com/Michael137 commented:
My original idea was that we can just call `CalculateNumChildren` and bubble up that error when something goes wrong. But if we're just going to consume it anyway, then keeping them as `CalculateNumChildrenIgnoringErrors` seems fine (though I would still prefer bubbling up errors, but that brings us back to the discussion about how we should be using `llvm::Expected`). CC @adrian-prantl @felipepiovezan
https://github.com/llvm/llvm-project/pull/142607
More information about the lldb-commits
mailing list