reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
714 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); 715 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); 716 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); 717 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); 721 HasIntLiteral)); // this is actually a character 723 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); 724 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); 725 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral));