reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
54 EXPECT_TRUE(matches("typedef int Xa;", NamedX)); 55 EXPECT_TRUE(matches("int Xb;", NamedX)); 56 EXPECT_TRUE(matches("class foo { virtual void Xc(); };", NamedX)); 57 EXPECT_TRUE(matches("void foo() try { } catch(int Xdef) { }", NamedX)); 58 EXPECT_TRUE(matches("void foo() { int Xgh; }", NamedX)); 59 EXPECT_TRUE(matches("namespace Xij { }", NamedX)); 60 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX)); 62 EXPECT_TRUE(notMatches("#define Xkl 1", NamedX));