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

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 23 06:47:46 PDT 2019


jankratochvil added a comment.

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/`.


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