@@ -144,7 +144,7 @@ class VariadicMatcherCreateCallback : public MatcherCreateCallback {
144
144
145
145
// Helper function to perform template argument deduction.
146
146
template <typename MarshallerType, typename FuncType>
147
- auto createMarshallerCallback (MarshallerType Marshaller,
147
+ auto * createMarshallerCallback (MarshallerType Marshaller,
148
148
FuncType Func,
149
149
StringRef MatcherName) {
150
150
return new FixedArgCountMatcherCreateCallback<MarshallerType, FuncType>(
@@ -235,23 +235,23 @@ DynMatcher *matcherMarshall1(ReturnType (*Func)(InArgType1, InArgType2),
235
235
236
236
// 0-arg overload
237
237
template <typename T, typename ReturnType>
238
- auto makeMatcherAutoMarshall (ReturnType (*Func)(),
238
+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(),
239
239
StringRef MatcherName) {
240
240
return createMarshallerCallback (matcherMarshall0<T, ReturnType>, Func,
241
241
MatcherName);
242
242
}
243
243
244
244
// 1-arg overload
245
245
template <typename T, typename ReturnType, typename ArgType1>
246
- auto makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1),
246
+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1),
247
247
StringRef MatcherName) {
248
248
return createMarshallerCallback (matcherMarshall1<T, ReturnType, ArgType1>,
249
249
Func, MatcherName);
250
250
}
251
251
252
252
// 2-arg overload
253
253
template <typename T, typename ReturnType, typename ArgType1, typename ArgType2>
254
- auto makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1,
254
+ auto * makeMatcherAutoMarshall (ReturnType (*Func)(ArgType1,
255
255
ArgType2),
256
256
StringRef MatcherName) {
257
257
return createMarshallerCallback (
@@ -260,7 +260,7 @@ auto makeMatcherAutoMarshall(ReturnType (*Func)(ArgType1,
260
260
261
261
// Variadic overload.
262
262
template <typename T, typename MatcherType>
263
- auto makeMatcherAutoMarshall (MatcherType Func,
263
+ auto * makeMatcherAutoMarshall (MatcherType Func,
264
264
StringRef MatcherName) {
265
265
return new VariadicMatcherCreateCallback<T>(MatcherName);
266
266
}
0 commit comments