Lines Matching defs:Decl

121 typedef internal::Matcher<Decl> DeclarationMatcher;
157 const internal::VariadicAllOfMatcher<Decl> decl;
170 const internal::VariadicDynCastAllOfMatcher<Decl, NamedDecl> namedDecl;
181 const internal::VariadicDynCastAllOfMatcher<Decl, NamespaceDecl> namespaceDecl;
191 Decl,
201 Decl,
215 Decl,
227 const internal::VariadicDynCastAllOfMatcher<Decl, DeclaratorDecl>
238 const internal::VariadicDynCastAllOfMatcher<Decl, ParmVarDecl> parmVarDecl;
252 Decl,
278 AST_MATCHER(Decl, isPublic) {
294 AST_MATCHER(Decl, isProtected) {
310 AST_MATCHER(Decl, isPrivate) {
316 AST_MATCHER(Decl, isImplicit) {
476 internal::Matcher<Decl>, InnerMatcher) {
512 Decl,
525 Decl,
536 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;
547 Decl,
556 const internal::VariadicDynCastAllOfMatcher<Decl, CXXMethodDecl> methodDecl;
567 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;
577 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl;
585 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl;
594 Decl,
605 const internal::VariadicDynCastAllOfMatcher<Decl, FriendDecl> friendDecl;
715 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
729 Decl,
1731 internal::HasParentMatcher, internal::TypeList<Decl, Stmt>,
1732 internal::TypeList<Decl, Stmt> > LLVM_ATTRIBUTE_UNUSED hasParent = {};
1746 internal::HasAncestorMatcher, internal::TypeList<Decl, Stmt>,
1747 internal::TypeList<Decl, Stmt> > LLVM_ATTRIBUTE_UNUSED hasAncestor = {};
1781 internal::HasDeclarationMatcher, internal::Matcher<Decl>,
1783 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) {
1785 internal::HasDeclarationMatcher, internal::Matcher<Decl>,
1820 /// internal::Matcher<Decl>, as the matcher hierarchy is purely
1837 AST_MATCHER_P_OVERLOAD(CallExpr, callee, internal::Matcher<Decl>, InnerMatcher,
1876 internal::Matcher<Decl>, InnerMatcher, 1) {
1927 AST_MATCHER_P_OVERLOAD(QualType, pointsTo, internal::Matcher<Decl>,
1971 AST_MATCHER_P_OVERLOAD(QualType, references, internal::Matcher<Decl>,
1995 internal::Matcher<Decl>, InnerMatcher, 1) {
2010 AST_MATCHER_P(DeclRefExpr, to, internal::Matcher<Decl>,
2012 const Decl *DeclNode = Node.getDecl();
2041 /// \brief Matches the Decl of a DeclStmt which has a single declaration.
2050 AST_MATCHER_P(DeclStmt, hasSingleDecl, internal::Matcher<Decl>, InnerMatcher) {
2052 const Decl *FoundDecl = Node.getSingleDecl();
2169 internal::Matcher<Decl>, InnerMatcher) {
2425 Stmt, Decl, Type, QualType),
3409 /// Decl, matches \c InnerMatcher.
3422 AST_MATCHER_P(Decl, hasDeclContext, internal::Matcher<Decl>, InnerMatcher) {
3423 return InnerMatcher.matches(*Decl::castFromDeclContext(Node.getDeclContext()),
3548 /// \c Decl has pointer identity in the AST.
3549 AST_MATCHER_P_OVERLOAD(Decl, equalsNode, const Decl*, Other, 0) {