Lines Matching refs:ExpressionFormat
90 std::pair<ExpressionFormat::Kind, unsigned>> {
95 ExpressionFormat Format;
110 ExpressionFormat::Kind Kind; in SetUp()
112 AllowHex = Kind == ExpressionFormat::Kind::HexLower || in SetUp()
113 Kind == ExpressionFormat::Kind::HexUpper; in SetUp()
114 AllowUpperHex = Kind == ExpressionFormat::Kind::HexUpper; in SetUp()
115 Signed = Kind == ExpressionFormat::Kind::Signed; in SetUp()
116 Format = ExpressionFormat(Kind, Precision); in SetUp()
303 ::testing::Values(std::make_pair(ExpressionFormat::Kind::Unsigned, 0),
304 std::make_pair(ExpressionFormat::Kind::Signed, 0),
305 std::make_pair(ExpressionFormat::Kind::HexLower, 0),
306 std::make_pair(ExpressionFormat::Kind::HexUpper, 0),
308 std::make_pair(ExpressionFormat::Kind::Unsigned, 1),
309 std::make_pair(ExpressionFormat::Kind::Signed, 1),
310 std::make_pair(ExpressionFormat::Kind::HexLower, 1),
311 std::make_pair(ExpressionFormat::Kind::HexUpper, 1),
313 std::make_pair(ExpressionFormat::Kind::Unsigned, 16),
314 std::make_pair(ExpressionFormat::Kind::Signed, 16),
315 std::make_pair(ExpressionFormat::Kind::HexLower, 16),
316 std::make_pair(ExpressionFormat::Kind::HexUpper, 16),
318 std::make_pair(ExpressionFormat::Kind::Unsigned, 20),
319 std::make_pair(ExpressionFormat::Kind::Signed, 20)), );
322 ExpressionFormat NoFormat(ExpressionFormat::Kind::NoFormat); in TEST_F()
332 ExpressionFormat UnsignedFormat(ExpressionFormat::Kind::Unsigned); in TEST_F()
333 ExpressionFormat UnsignedFormat2(ExpressionFormat::Kind::Unsigned); in TEST_F()
337 ExpressionFormat HexLowerFormat(ExpressionFormat::Kind::HexLower); in TEST_F()
341 ExpressionFormat NoFormat(ExpressionFormat::Kind::NoFormat); in TEST_F()
342 ExpressionFormat NoFormat2(ExpressionFormat::Kind::NoFormat); in TEST_F()
348 ExpressionFormat UnsignedFormat(ExpressionFormat::Kind::Unsigned); in TEST_F()
349 EXPECT_TRUE(UnsignedFormat == ExpressionFormat::Kind::Unsigned); in TEST_F()
350 EXPECT_FALSE(UnsignedFormat != ExpressionFormat::Kind::Unsigned); in TEST_F()
351 EXPECT_FALSE(UnsignedFormat == ExpressionFormat::Kind::HexLower); in TEST_F()
352 EXPECT_TRUE(UnsignedFormat != ExpressionFormat::Kind::HexLower); in TEST_F()
353 ExpressionFormat NoFormat(ExpressionFormat::Kind::NoFormat); in TEST_F()
354 EXPECT_TRUE(NoFormat == ExpressionFormat::Kind::NoFormat); in TEST_F()
355 EXPECT_FALSE(NoFormat != ExpressionFormat::Kind::NoFormat); in TEST_F()
653 Expected<ExpressionFormat> ImplicitFormat = Ten.getImplicitFormat(SM); in TEST_F()
655 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::NoFormat); in TEST_F()
677 ExpressionFormat(ExpressionFormat::Kind::HexLower)); in TEST_F()
679 EXPECT_EQ(Expr.getFormat(), ExpressionFormat::Kind::HexLower); in TEST_F()
701 ExpressionFormat(ExpressionFormat::Kind::Unsigned), 1); in TEST_F()
703 EXPECT_EQ(FooVar.getImplicitFormat(), ExpressionFormat::Kind::Unsigned); in TEST_F()
705 Expected<ExpressionFormat> ImplicitFormat = FooVarUse.getImplicitFormat(SM); in TEST_F()
707 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
752 ExpressionFormat(ExpressionFormat::Kind::Unsigned), 1); in TEST_F()
758 ExpressionFormat(ExpressionFormat::Kind::Unsigned), 2); in TEST_F()
771 Expected<ExpressionFormat> ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F()
773 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
798 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
808 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
815 ExpressionFormat(ExpressionFormat::Kind::HexLower), 3); in TEST_F()
840 QuuxStr, ExpressionFormat(ExpressionFormat::Kind::HexLower), 4); in TEST_F()
1510 NumericVariable NVar("N", ExpressionFormat(ExpressionFormat::Kind::Unsigned), in TEST_F()
1515 std::move(NVarUse), ExpressionFormat(ExpressionFormat::Kind::HexUpper)); in TEST_F()