reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
41 EXPECT_TRUE(matches("typedef int X;", NamedX)); 42 EXPECT_TRUE(matches("int X;", NamedX)); 43 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX)); 44 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX)); 45 EXPECT_TRUE(matches("void foo() { int X; }", NamedX)); 46 EXPECT_TRUE(matches("namespace X { }", NamedX)); 47 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX)); 49 EXPECT_TRUE(notMatches("#define X 1", NamedX));