Lines Matching refs:VariantMatcher
128 virtual VariantMatcher create(SourceRange NameRange,
184 typedef VariantMatcher (*MarshallerType)(void (*Func)(),
204 VariantMatcher create(SourceRange NameRange,
251 static VariantMatcher outvalueToVariantMatcher(const DynTypedMatcher &Matcher) {
252 return VariantMatcher::SingleMatcher(Matcher);
256 static VariantMatcher outvalueToVariantMatcher(const T &PolyMatcher,
261 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
302 VariantMatcher
321 VariantMatcher Out;
343 typedef VariantMatcher (*RunFunc)(StringRef MatcherName,
359 VariantMatcher create(SourceRange NameRange,
424 return VariantMatcher(); \
432 return VariantMatcher(); \
437 static VariantMatcher matcherMarshall0(void (*Func)(), StringRef MatcherName,
448 static VariantMatcher matcherMarshall1(void (*Func)(), StringRef MatcherName,
461 static VariantMatcher matcherMarshall2(void (*Func)(), StringRef MatcherName,
517 VariantMatcher create(SourceRange NameRange,
520 std::vector<VariantMatcher> Constructed;
523 VariantMatcher SubMatcher = O->create(NameRange, Args, Error);
529 if (Constructed.empty()) return VariantMatcher(); // No overload matched.
535 return VariantMatcher();
591 VariantMatcher create(SourceRange NameRange,
599 return VariantMatcher();
602 std::vector<VariantMatcher> InnerArgs;
609 return VariantMatcher();
613 return VariantMatcher::VariadicOperatorMatcher(Op, std::move(InnerArgs));