[Lldb-commits] [PATCH] D59217: Fix/unify SBType comparison
Zachary Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 11 10:32:22 PDT 2019
zturner added a comment.
SBType storing a pair of CompilerType and TypeSP seems like a very confusing interface and like it will be very easy to misuse or violate assumptions (perhaps even assumptions that nobody knows exists). Why exactly is this necessary?
As far as I can tell, `SBType` uses `TypeImpl`, which supports having a `CompilerType`, a `TypeSP`, or both, but I cannot find any client of `TypeImpl` which actually depends on the `TypeSP` being set. Perhaps we can just delete support for `TypeSP` from `TypeImpl` entirely.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59217/new/
https://reviews.llvm.org/D59217
More information about the lldb-commits
mailing list