Lines Matching refs:Matcher

96   MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder,  in MatchChildASTVisitor()  argument
100 : Matcher(Matcher), Finder(Finder), Builder(Builder), CurrentDepth(0), in MatchChildASTVisitor()
361 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
369 if (Matcher->matches(DynTypedNode::create(Node), Finder, in match()
390 const DynTypedMatcher *const Matcher; member in clang::ast_matchers::internal::__anon62d4f9200111::MatchChildASTVisitor
579 const DynTypedMatcher &Matcher, in memoizedMatchesRecursively() argument
584 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Bind); in memoizedMatchesRecursively()
587 Key.MatcherID = Matcher.getID(); in memoizedMatchesRecursively()
603 matchesRecursively(Node, Matcher, &Result.Nodes, MaxDepth, Bind); in memoizedMatchesRecursively()
614 const DynTypedMatcher &Matcher, in matchesRecursively() argument
628 MatchChildASTVisitor Visitor(&Matcher, this, Builder, MaxDepth, in matchesRecursively()
634 const Matcher<NamedDecl> &Base,
639 const Matcher<NamedDecl> &Base,
645 const DynTypedMatcher &Matcher, in matchesChildOf() argument
649 return memoizedMatchesRecursively(Node, Ctx, Matcher, Builder, 1, Bind); in matchesChildOf()
653 const DynTypedMatcher &Matcher, in matchesDescendantOf() argument
658 return memoizedMatchesRecursively(Node, Ctx, Matcher, Builder, INT_MAX, in matchesDescendantOf()
663 const DynTypedMatcher &Matcher, in matchesAncestorOf() argument
671 return matchesParentOf(Node, Matcher, Builder); in matchesAncestorOf()
672 return matchesAnyAncestorOf(Node, Ctx, Matcher, Builder); in matchesAncestorOf()
902 bool matchesParentOf(const DynTypedNode &Node, const DynTypedMatcher &Matcher, in matchesParentOf() argument
906 if (Matcher.matches(Parent, this, &BuilderCopy)) { in matchesParentOf()
931 const DynTypedMatcher &Matcher, in matchesAnyAncestorOf() argument
954 Keys.back().MatcherID = Matcher.getID(); in matchesAnyAncestorOf()
978 if (Matcher.matches(Node, this, &BuilderCopy)) { in matchesAnyAncestorOf()
1012 if (Matcher.matches(Queue.front(), this, &BuilderCopy)) { in matchesAnyAncestorOf()
1050 const Matcher<NamedDecl> &Matcher, in typeHasMatchingAlias() argument
1059 if (Matcher.matches(*Alias, this, &Result)) { in typeHasMatchingAlias()
1069 const Matcher<NamedDecl> &Matcher, in objcClassHasMatchingCompatibilityAlias() argument
1076 if (Matcher.matches(*Alias, this, &Result)) { in objcClassHasMatchingCompatibilityAlias()
1140 const Matcher<NamedDecl> &Base, in classIsDerivedFrom()
1176 const ObjCInterfaceDecl *Declaration, const Matcher<NamedDecl> &Base, in objcClassIsDerivedFrom()