[Lldb-commits] [PATCH] D78697: [lldb][TypeSystemClang] Desugar an elaborated type before checking if it's a typedef or getting a typedefed type

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 24 06:27:33 PDT 2020

teemperor accepted this revision.
teemperor added a comment.
This revision is now accepted and ready to land.

In D78697#2001751 <https://reviews.llvm.org/D78697#2001751>, @aleksandr.urakov wrote:

> The problem here is that in the case of success `GetCString()` returns `nullptr`, and we fail on concatenation with `None` even if the expression was evaluated successfully.

Oh true, totally missed that. I think we usually solved that by putting the assert in some 'if', but that's not much better than the wrapper. And this hopefully anyway goes away with the discussed utility method. So let's just leave it at that for now and no longer delay this patch.

LGTM, thanks for the quick turnaround!

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list