Lines Matching defs:Func

107   /// \param Marshaller Function to unpack the arguments and call \c Func
108 /// \param Func Matcher construct function. This is the function that
110 FixedArgCountMatcherCreateCallback(MarshallerType Marshaller, FuncType Func,
112 : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName.str()) {}
116 return Marshaller(Func, MatcherName, NameRange, Args, Error);
121 const FuncType Func;
139 FreeFuncMatcherCreateCallback(RunFunc Func, StringRef MatcherName)
140 : Func(Func), MatcherName(MatcherName.str()) {}
144 return Func(MatcherName, NameRange, Args, Error);
148 const RunFunc Func;
202 static MatcherList matcherMarshall0(ReturnType (*Func)(),
208 return outvalueToMatcherList(Func());
213 static MatcherList matcherMarshall1(ReturnType (*Func)(ArgType1),
221 Func(ArgTypeTraits<ArgType1>::get(Args[0].Value)));
226 static MatcherList matcherMarshall2(ReturnType (*Func)(ArgType1, ArgType2),
235 Func(ArgTypeTraits<ArgType1>::get(Args[0].Value),
244 ResultT (*Func)(ArrayRef<const ArgT *>)>
268 Func(ArrayRef<const ArgT *>(InnerArgs, Args.size())));
283 MatcherCreateCallback *makeMatcherAutoMarshall(ReturnType (*Func)(),
286 matcherMarshall0, Func, MatcherName);
291 MatcherCreateCallback *makeMatcherAutoMarshall(ReturnType (*Func)(ArgType1),
294 matcherMarshall1, Func, MatcherName);
299 MatcherCreateCallback *makeMatcherAutoMarshall(ReturnType (*Func)(ArgType1,
303 ReturnType (*)(ArgType1, ArgType2)>(matcherMarshall2, Func, MatcherName);
308 ResultT (*Func)(ArrayRef<const ArgT *>)>
310 makeMatcherAutoMarshall(llvm::VariadicFunction<ResultT, ArgT, Func> VarFunc,
313 &variadicMatcherCreateCallback<ResultT, ArgT, Func>, MatcherName);