[Lldb-commits] [PATCH] D69820: [Symbol] Add TypeSystem::GetClassName

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 13 12:00:09 PST 2020


xiaobai added a comment.

In D69820#1817621 <https://reviews.llvm.org/D69820#1817621>, @clayborg wrote:

> Let me know what everyone thinks of adding a "fully_qualified" argument to the TypeSystem::GetClassName()?


I think that you would have to add more than a `fully_qualified` argument to the method. You need to reference the parent `ValueObject` to fully qualify something as far as I can tell, so you'd have to pass along the parent as well. I think that it sounds nice for the `TypeSystem` to fully qualify the class name but I don't think that it's necessarily better than what exists now. You'll still have recursion walking the parent `ValueObject`s, you've just split it across two different methods in different classes. Maybe I'm overthinking this or missing something though?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69820/new/

https://reviews.llvm.org/D69820





More information about the lldb-commits mailing list