Lines Matching refs:getExtValue
66 TEST(APSIntTest, getExtValue) { in TEST() argument
73 EXPECT_EQ(7, APSInt(APInt(3, 7), true).getExtValue()); in TEST()
74 EXPECT_EQ(-1, APSInt(APInt(3, 7), false).getExtValue()); in TEST()
75 EXPECT_EQ(7, APSInt(APInt(4, 7), true).getExtValue()); in TEST()
76 EXPECT_EQ(7, APSInt(APInt(4, 7), false).getExtValue()); in TEST()
77 EXPECT_EQ(9, APSInt(APInt(4, -7), true).getExtValue()); in TEST()
78 EXPECT_EQ(-7, APSInt(APInt(4, -7), false).getExtValue()); in TEST()
147 EXPECT_EQ(APSInt("1").getExtValue(), 1); in TEST()
148 EXPECT_EQ(APSInt("-1").getExtValue(), -1); in TEST()
149 EXPECT_EQ(APSInt("0").getExtValue(), 0); in TEST()
150 EXPECT_EQ(APSInt("56789").getExtValue(), 56789); in TEST()
151 EXPECT_EQ(APSInt("-1234").getExtValue(), -1234); in TEST()