[Lldb-commits] [lldb] [lldb] switch to CalculateNumChildren where possible (PR #142607)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 3 08:06:18 PDT 2025


charles-zablit wrote:

> 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`)

Agreed, the current changes just feel like moving the logic out of `CalculateNumChildrenIgnoringErrors`.

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


More information about the lldb-commits mailing list