[Lldb-commits] [PATCH] unittests: Specify types in a bunch of unittest EXPECT's

Justin Bogner via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 17 00:34:08 PDT 2016

Today I checked out lldb to check that r284364 wouldn't cause any
trouble, but there were a few warnings that fired when I tried to build
it, breaking my -Werror build.

The EXPECT and ASSERT macros in gtest don't do the usual arithmetic
conversions, so there are a number of warnings where we compare
differently sized ints. This fixes the places that warn to be more
specific. Okay to commit?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-unittests.patch
Type: text/x-patch
Size: 58346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161017/979de4a9/attachment-0001.bin>

More information about the lldb-commits mailing list