Searched refs:HasIntLiteral (Results 1 – 1 of 1) sorted by relevance
651 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local652 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()653 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()654 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()655 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()659 HasIntLiteral)); // this is actually a character in TEST()661 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()662 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()663 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()