[Lldb-commits] [lldb] [lldb][NFCI] Remove unused methods from Module::LookupInfo (PR #171901)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 12 12:57:11 PST 2025


bulbazord wrote:

> It's always a little odd to have a class like this that's mostly read-only, but one ivar is settable. We always seem to call SetLookupName right after we make the lookup info. Is there any reason not to make this really "read only" by passing the lookup name in as well when making the LookupInfo, and removing SetLookupName as well?

I was going to do that as a follow up, but I might as well do that at the same time.

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


More information about the lldb-commits mailing list