[Lldb-commits] [PATCH] D62305: [lldb] fix cannot convert from 'nullptr' to 'lldb::thread_result_t'

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 23 06:52:34 PDT 2019


labath added a comment.

In D62305#1513793 <https://reviews.llvm.org/D62305#1513793>, @jankratochvil wrote:

> In D62305#1513642 <https://reviews.llvm.org/D62305#1513642>, @labath wrote:
>
> > returning `lldb::thread_result_t()` is probably the best thing to do here...
>
>
> I would say `return {};` is the best one, it has 118 uses in `lldb/`.


Yeah, that works too...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62305





More information about the lldb-commits mailing list