adrian-prantl wrote: > I would say this differently. Many clients of the GetNumChildren API are > planning to respond the same way to an error and a number of children == 0.
I haven't done a complete audit, but my expectation for this patch is that the vast majority of users of this API will want to bubble up the error. So I'm seeing this as a transition state, with the goal being to convert all functions that currently use the ValueOr function to also return an Expected. https://github.com/llvm/llvm-project/pull/84219 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits