reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 1484   EXPECT_TRUE(matches(code, varDecl(hasName("i"))));
 1485   EXPECT_FALSE(matches(code, varDecl(hasName("F()::i"))));
 1487   EXPECT_TRUE(matches(code, fieldDecl(hasName("m"))));
 1488   EXPECT_TRUE(matches(code, fieldDecl(hasName("S::m"))));
 1489   EXPECT_TRUE(matches(code, fieldDecl(hasName("F(int)::S::m"))));
 1490   EXPECT_TRUE(matches(code, fieldDecl(hasName("a::F(int)::S::m"))));
 1491   EXPECT_TRUE(matches(code, fieldDecl(hasName("::a::F(int)::S::m"))));