Lines Matching refs:decl
111 typedef internal::Matcher<Decl> DeclarationMatcher;
147 const internal::VariadicAllOfMatcher<Decl> decl;
160 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl;
171 const internal::VariadicDynCastAllOfMatcher<Decl, NamespaceDecl> namespaceDecl;
181 Decl,
191 Decl,
205 Decl,
217 const internal::VariadicDynCastAllOfMatcher<Decl, DeclaratorDecl>
228 const internal::VariadicDynCastAllOfMatcher<Decl, ParmVarDecl> parmVarDecl;
242 Decl,
268 AST_MATCHER(Decl, isPublic) {
284 AST_MATCHER(Decl, isProtected) {
300 AST_MATCHER(Decl, isPrivate) {
451 internal::Matcher<Decl>, InnerMatcher) {
469 Decl,
482 Decl,
493 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;
504 Decl,
513 const internal::VariadicDynCastAllOfMatcher<Decl, CXXMethodDecl> methodDecl;
524 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;
534 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl;
542 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl;
551 Decl,
562 const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl;
649 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
663 Decl,
1722 internal::TypeList<Decl, Stmt>,
1723 internal::TypeList<Decl, Stmt> >
1726 internal::HasParentMatcher, ParentT, internal::TypeList<Decl, Stmt>,
1727 internal::TypeList<Decl, Stmt> >(ParentMatcher);
1743 internal::TypeList<Decl, Stmt>,
1744 internal::TypeList<Decl, Stmt> >
1747 internal::HasAncestorMatcher, AncestorT, internal::TypeList<Decl, Stmt>,
1748 internal::TypeList<Decl, Stmt> >(AncestorMatcher);
1785 internal::Matcher<Decl> >
1786 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) {
1789 internal::Matcher<Decl> >(InnerMatcher);
1823 /// internal::Matcher<Decl>, as the matcher hierarchy is purely
1840 AST_MATCHER_P_OVERLOAD(CallExpr, callee, internal::Matcher<Decl>, InnerMatcher,
1879 internal::Matcher<Decl>, InnerMatcher, 1) {
1884 /// \brief Matches if the type location of the declarator decl's type matches
1930 AST_MATCHER_P_OVERLOAD(QualType, pointsTo, internal::Matcher<Decl>,
1974 AST_MATCHER_P_OVERLOAD(QualType, references, internal::Matcher<Decl>,
1998 internal::Matcher<Decl>, InnerMatcher, 1) {
2013 AST_MATCHER_P(DeclRefExpr, to, internal::Matcher<Decl>,
2015 const Decl *DeclNode = Node.getDecl();
2044 /// \brief Matches the Decl of a DeclStmt which has a single declaration.
2053 AST_MATCHER_P(DeclStmt, hasSingleDecl, internal::Matcher<Decl>, InnerMatcher) {
2055 const Decl *FoundDecl = Node.getSingleDecl();
2143 internal::Matcher<Decl>, InnerMatcher) {
2382 /// forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d"))))))
2386 Stmt, Decl, Type, QualType),
3354 /// Decl, matches \c InnerMatcher.
3367 AST_MATCHER_P(Decl, hasDeclContext, internal::Matcher<Decl>, InnerMatcher) {
3368 return InnerMatcher.matches(*Decl::castFromDeclContext(Node.getDeclContext()),
3492 /// \c Decl has pointer identity in the AST.
3493 AST_MATCHER_P_OVERLOAD(Decl, equalsNode, Decl*, Other, 0) {
3544 /// constructorDecl(forEachConstructorInitializer(forField(decl().bind("x"))))