Lines Matching refs:InnerMatchers
25 ArrayRef<DynTypedMatcher> InnerMatchers);
30 ArrayRef<DynTypedMatcher> InnerMatchers);
35 ArrayRef<DynTypedMatcher> InnerMatchers);
40 ArrayRef<DynTypedMatcher> InnerMatchers);
55 BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers);
60 VariadicMatcher(std::vector<DynTypedMatcher> InnerMatchers) in VariadicMatcher() argument
61 : InnerMatchers(std::move(InnerMatchers)) {} in VariadicMatcher()
66 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches()
70 std::vector<DynTypedMatcher> InnerMatchers; member in clang::ast_matchers::internal::__anoned29a3e60111::VariadicMatcher
113 std::vector<DynTypedMatcher> InnerMatchers) { in constructVariadic() argument
114 assert(InnerMatchers.size() > 0 && "Array must not be empty."); in constructVariadic()
115 assert(std::all_of(InnerMatchers.begin(), InnerMatchers.end(), in constructVariadic()
116 [&InnerMatchers](const DynTypedMatcher &M) { in constructVariadic()
117 return InnerMatchers[0].SupportedKind.isSame(M.SupportedKind); in constructVariadic()
121 auto SupportedKind = InnerMatchers[0].SupportedKind; in constructVariadic()
134 for (auto &IM : InnerMatchers) { in constructVariadic()
140 new VariadicMatcher<AllOfVariadicOperator>(std::move(InnerMatchers))); in constructVariadic()
145 new VariadicMatcher<AnyOfVariadicOperator>(std::move(InnerMatchers))); in constructVariadic()
150 new VariadicMatcher<EachOfVariadicOperator>(std::move(InnerMatchers))); in constructVariadic()
157 new VariadicMatcher<NotUnaryOperator>(std::move(InnerMatchers))); in constructVariadic()
233 ArrayRef<DynTypedMatcher> InnerMatchers) { in NotUnaryOperator() argument
234 if (InnerMatchers.size() != 1) in NotUnaryOperator()
248 return !InnerMatchers[0].matches(DynNode, Finder, &Discard); in NotUnaryOperator()
254 ArrayRef<DynTypedMatcher> InnerMatchers) { in AllOfVariadicOperator() argument
258 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in AllOfVariadicOperator()
268 ArrayRef<DynTypedMatcher> InnerMatchers) { in EachOfVariadicOperator() argument
271 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in EachOfVariadicOperator()
285 ArrayRef<DynTypedMatcher> InnerMatchers) { in AnyOfVariadicOperator() argument
286 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in AnyOfVariadicOperator()