Lines Matching defs:hasName

17 //    cxxRecordDecl(hasName("MyClass"))
28 // cxxRecordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
643 /// refersToType(class(hasName("X")))))
662 /// refersToDeclaration(fieldDecl(hasName("next"))))
681 /// isExpr(hasDescendant(declRefExpr(to(fieldDecl(hasName("next"))))))))
1739 /// cxxRecordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1740 /// has(fieldDecl(hasName("b")).bind("v"))))
1836 inline internal::Matcher<NamedDecl> hasName(const std::string &Name) {
1896 /// Example matches Y, Z, C (Base == hasName("X"))
1906 /// In the following example, Bar matches isDerivedFrom(hasName("X")):
1917 /// \brief Overloaded method as shortcut for \c isDerivedFrom(hasName(...)).
1920 return isDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
1932 /// \c isSameOrDerivedFrom(hasName(...)).
1936 return isSameOrDerivedFrom(hasName(BaseName)).matches(Node, Finder, Builder);
1948 /// \c cxxRecordDecl(hasMethod(hasName("func"))) matches the declaration of
1960 /// (matcher = cxxRecordDecl(has(cxxRecordDecl(hasName("X")))
1977 /// (matcher = cxxRecordDecl(hasDescendant(cxxRecordDecl(hasName("X")))))
1994 /// (matcher = cxxRecordDecl(forEach(cxxRecordDecl(hasName("X")))
2014 /// (matcher = cxxRecordDecl(forEachDescendant(cxxRecordDecl(hasName("X")))))
2049 /// cxxRecordDecl(hasName("::A"),
2095 /// Example matches Y (matcher = cxxRecordDecl(unless(hasName("X"))))
2136 /// (matcher = cxxMemberCallExpr(on(hasType(cxxRecordDecl(hasName("Y"))))))
2275 /// cxxMethodDecl(hasName("x")))))
2288 /// Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
2289 /// and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
2305 /// declaration "X x;", cxxRecordDecl(hasName("X")) matches the declaration of
2306 /// X, while varDecl(hasType(cxxRecordDecl(hasName("X")))) matches the
2309 /// Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
2310 /// and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
2359 /// cxxRecordDecl(hasName("Y")))))))
2382 /// (matcher = varDecl(hasType(references(cxxRecordDecl(hasName("X"))))))
2451 /// (matcher = declRefExpr(to(varDecl(hasName("x")))))
2734 /// forField(hasName("foo_"))))))
2882 /// cxxMethodDecl(hasAnyParameter(hasName("y")))
3040 /// has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
3041 /// has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))
3389 /// ofClass(hasName("A"))))))
3614 /// memberExpr(member(hasName("first")))
3630 /// memberExpr(hasObjectExpression(hasType(cxxRecordDecl(hasName("X")))))))
3646 /// usingDecl(hasAnyUsingShadowDecl(hasName("b"))))
3682 /// cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
3690 /// cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
3920 /// varDecl(hasName("b")))))))
4219 /// \c elaboratedType(hasQualifier(hasPrefix(specifiesNamespace(hasName("N"))))
4242 /// hasDeclaration(namedDecl(hasName("D")))))) matches the type of the variable
4314 /// \c cxxRcordDecl(hasDeclContext(namedDecl(hasName("M")))) matches the
4360 /// hasDeclaration(cxxRecordDecl(hasName("A")))
4379 /// hasDeclaration(cxxRecordDecl(hasName("A")))))))
4430 /// nestedNameSpecifier(specifiesNamespace(hasName("ns")))