[Lldb-commits] [PATCH] D131159: [lldb] Use WSAEventSelect for MainLoop polling on windows

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 23 05:14:54 PDT 2022


labath added a comment.

In D131159#3742364 <https://reviews.llvm.org/D131159#3742364>, @mgorny wrote:

> In D131159#3742235 <https://reviews.llvm.org/D131159#3742235>, @mstorsjo wrote:
>
>> (They're only used in asserts.) I guess we should add void casts to mark the variables as used outside of asserts.
>
> Actually, there's a dedicated `UNUSED_IF_ASSERT_DISABLED` macro for that. Please use it instead.

One of these days, I'm going to have to delete it. If void casts are good enough for the rest of llvm, I don't see why should we be any different.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131159



More information about the lldb-commits mailing list