Searched refs:HasIntLiteral (Results 1 – 1 of 1) sorted by relevance
937 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local938 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()939 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()940 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()941 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()945 HasIntLiteral)); // this is actually a character in TEST_P()947 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()948 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()949 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()