[Lldb-commits] [PATCH] D11404: Fix warnings.

Greg Clayton clayborg at gmail.com
Wed Jul 22 10:21:57 PDT 2015


clayborg added a comment.

You might want to put comments on your "(void)unused_variable;" lines to let people know it is there to make sure that we don't get unused variable warnings so people know not to take them out. It might be a good idea to make a macro that would make this more clear. Maybe something in lldb-defines.h like:

#define UNUSED_IF_ASSERT_DISABLED(x) ((void)(x))


http://reviews.llvm.org/D11404







More information about the lldb-commits mailing list