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

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 24 06:27:34 PDT 2020


labath added a comment.

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.


You should be able to use `str(sb_error)`

In D78697#2001735 <https://reviews.llvm.org/D78697#2001735>, @teemperor wrote:

> > I'm not very deep into the testing infrastructure, so I'm not sure that I am a right person to implement `assertSuccess` etc. Sorry about that.
>
> Sure, I don't think that was meant to be a suggested enhancement for this specific line of patches.


yep.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78697





More information about the lldb-commits mailing list