Searched refs:HasIntLiteral (Results 1 – 1 of 1) sorted by relevance
2103 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local2104 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()2105 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()2106 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()2107 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()2111 HasIntLiteral)); // this is actually a character in TEST()2113 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()2114 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()2115 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()