Endilll wrote:

> Is FindNestedType guaranteed to have a single return?

Yes, because search is not recursive, i.e. doesn't search inside nested types.
I'm intentionally specifying `FindNestedType` this way, because I'd like it to 
not do too much to remain fast by design, and I'm yet to see a use case when 
I'd be interested in type `NN`, buried inside arbitrary number of intervening 
nested types. Even if there is such use case, `SBTarget::FindFirstType` could 
be a better fit to address it.

https://github.com/llvm/llvm-project/pull/68705
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to