reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/APSIntTest.cpp
   96   EXPECT_TRUE(APSInt::compareValues(U(7), U(8)) < 0);
   96   EXPECT_TRUE(APSInt::compareValues(U(7), U(8)) < 0);
   97   EXPECT_TRUE(APSInt::compareValues(U(8), U(7)) > 0);
   97   EXPECT_TRUE(APSInt::compareValues(U(8), U(7)) > 0);
   98   EXPECT_TRUE(APSInt::compareValues(U(7), U(7)) == 0);
   98   EXPECT_TRUE(APSInt::compareValues(U(7), U(7)) == 0);
  101   EXPECT_TRUE(APSInt::compareValues(U(7), S(8)) < 0);
  102   EXPECT_TRUE(APSInt::compareValues(U(8), S(7)) > 0);
  103   EXPECT_TRUE(APSInt::compareValues(U(7), S(7)) == 0);
  104   EXPECT_TRUE(APSInt::compareValues(U(8), S(-7)) > 0);
  127   EXPECT_TRUE(APSInt::compareValues(U(7), U(8).trunc(32)) < 0);
  127   EXPECT_TRUE(APSInt::compareValues(U(7), U(8).trunc(32)) < 0);
  128   EXPECT_TRUE(APSInt::compareValues(U(8), U(7).trunc(32)) > 0);
  128   EXPECT_TRUE(APSInt::compareValues(U(8), U(7).trunc(32)) > 0);
  129   EXPECT_TRUE(APSInt::compareValues(U(7), U(7).trunc(32)) == 0);
  129   EXPECT_TRUE(APSInt::compareValues(U(7), U(7).trunc(32)) == 0);
  130   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), U(8)) < 0);
  130   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), U(8)) < 0);
  131   EXPECT_TRUE(APSInt::compareValues(U(8).trunc(32), U(7)) > 0);
  131   EXPECT_TRUE(APSInt::compareValues(U(8).trunc(32), U(7)) > 0);
  132   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), U(7)) == 0);
  132   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), U(7)) == 0);
  135   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), S(8)) < 0);
  136   EXPECT_TRUE(APSInt::compareValues(U(8).trunc(32), S(7)) > 0);
  137   EXPECT_TRUE(APSInt::compareValues(U(7).trunc(32), S(7)) == 0);
  138   EXPECT_TRUE(APSInt::compareValues(U(8).trunc(32), S(-7)) > 0);
  139   EXPECT_TRUE(APSInt::compareValues(U(7), S(8).trunc(32)) < 0);
  140   EXPECT_TRUE(APSInt::compareValues(U(8), S(7).trunc(32)) > 0);
  141   EXPECT_TRUE(APSInt::compareValues(U(7), S(7).trunc(32)) == 0);
  142   EXPECT_TRUE(APSInt::compareValues(U(8), S(-7).trunc(32)) > 0);