Lines Matching defs:Matcher
86 MatchChildASTVisitor(const DynTypedMatcher *Matcher,
92 : Matcher(Matcher),
241 // Sets 'Matched' to true if 'Matcher' matches 'Node' and:
253 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
261 if (Matcher->matches(ast_type_traits::DynTypedNode::create(Node), Finder,
282 const DynTypedMatcher *const Matcher;
374 const DynTypedMatcher &Matcher,
379 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Traversal,
383 Key.MatcherID = Matcher.getID();
396 Result.ResultOfMatch = matchesRecursively(Node, Matcher, &Result.Nodes,
405 const DynTypedMatcher &Matcher,
409 &Matcher, this, Builder, MaxDepth, Traversal, Bind);
414 const Matcher<NamedDecl> &Base,
419 const DynTypedMatcher &Matcher,
425 return memoizedMatchesRecursively(Node, Matcher, Builder, 1, Traversal,
430 const DynTypedMatcher &Matcher,
435 return memoizedMatchesRecursively(Node, Matcher, Builder, INT_MAX,
440 const DynTypedMatcher &Matcher,
447 return memoizedMatchesAncestorOfRecursively(Node, Matcher, Builder,
481 // Returns whether an ancestor of \p Node matches \p Matcher.
495 const ast_type_traits::DynTypedNode &Node, const DynTypedMatcher &Matcher,
509 Key.MatcherID = Matcher.getID();
526 if (Matcher.matches(Parent, this, &Result.Nodes)) {
533 Parent, Matcher, &Result.Nodes, MatchMode);
544 if (Matcher.matches(Queue.front(), this, &Result.Nodes)) {
590 const Matcher<NamedDecl> Matcher,
600 if (Matcher.matches(**It, this, &Result)) {
666 const Matcher<NamedDecl> &Base,