[llvm] r201451 - Remove tautological test line (unsigneds are always >=0).

Matt Arsenault Matthew.Arsenault at amd.com
Fri Feb 14 16:59:57 PST 2014


On 02/14/2014 04:45 PM, Lang Hames wrote:
>     EXPECT_TRUE(MM->UsedCodeSize > 0);
> -  EXPECT_TRUE(MM->UsedDataSizeRO >= 0);
>     EXPECT_TRUE(MM->UsedDataSizeRW > 0);
You could also use EXPECT_GE and EXPECT_GT for a slightly more helpful 
failure message




More information about the llvm-commits mailing list