@@ -144,7 +144,7 @@ class VariadicMatcherCreateCallback : public MatcherCreateCallback {
144144
145145// Helper function to perform template argument deduction.
146146template <typename MarshallerType, typename FuncType>
147- auto createMarshallerCallback (MarshallerType Marshaller,
147+ auto * createMarshallerCallback (MarshallerType Marshaller,
148148 FuncType Func,
149149 StringRef MatcherName) {
150150 return new FixedArgCountMatcherCreateCallback<MarshallerType, FuncType>(
@@ -235,23 +235,23 @@ DynMatcher *matcherMarshall1(ReturnType (*Func)(InArgType1, InArgType2),
235235
236236// 0-arg overload
237237template <typename T, typename ReturnType>
238- auto makeMatcherAutoMarshall (ReturnType (*Func)(),
238+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(),
239239 StringRef MatcherName) {
240240 return createMarshallerCallback (matcherMarshall0<T, ReturnType>, Func,
241241 MatcherName);
242242}
243243
244244// 1-arg overload
245245template <typename T, typename ReturnType, typename ArgType1>
246- auto makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1),
246+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1),
247247 StringRef MatcherName) {
248248 return createMarshallerCallback (matcherMarshall1<T, ReturnType, ArgType1>,
249249 Func, MatcherName);
250250}
251251
252252// 2-arg overload
253253template <typename T, typename ReturnType, typename ArgType1, typename ArgType2>
254- auto makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1,
254+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1,
255255 ArgType2),
256256 StringRef MatcherName) {
257257 return createMarshallerCallback (
@@ -260,7 +260,7 @@ auto makeMatcherAutoMarshall(ReturnType (*Func)(ArgType1,
260260
261261// Variadic overload.
262262template <typename T, typename MatcherType>
263- auto makeMatcherAutoMarshall (MatcherType Func,
263+ auto * makeMatcherAutoMarshall (MatcherType Func,
264264 StringRef MatcherName) {
265265 return new VariadicMatcherCreateCallback<T>(MatcherName);
266266}
0 commit comments