Lines Matching defs:MaxDepth
100 BoundNodesTreeBuilder *Builder, int MaxDepth,
104 MaxDepth(MaxDepth), IgnoreImplicitChildren(IgnoreImplicitChildren),
180 if (CurrentDepth == 0 || (CurrentDepth <= MaxDepth && MaxDepth < INT_MAX))
368 // 0 < CurrentDepth <= MaxDepth.
374 if (CurrentDepth == 0 || CurrentDepth > MaxDepth) {
413 const int MaxDepth;
599 BoundNodesTreeBuilder *Builder, int MaxDepth,
603 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Bind);
612 Key.Type = MaxDepth == 1 ? MatchType::Child : MatchType::Descendants;
622 matchesRecursively(Node, Matcher, &Result.Nodes, MaxDepth, Bind);
634 BoundNodesTreeBuilder *Builder, int MaxDepth,
647 MatchChildASTVisitor Visitor(&Matcher, this, Builder, MaxDepth,