File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -406,19 +406,19 @@ template <class T> struct has_MappingValidateTraits<T, EmptyContext> {
406
406
407
407
// Test if MappingContextTraits<T>::enumInput() is defined on type T.
408
408
template <class T , class Context > struct has_MappingEnumInputTraits {
409
- using Signature_validate = void (*)(class IO &, T &);
409
+ using Signature_enumInput = void (*)(class IO &, T &);
410
410
411
- template <class U > using check = SameType<Signature_validate , &U::enumInput>;
411
+ template <class U > using check = SameType<Signature_enumInput , &U::enumInput>;
412
412
413
413
static constexpr bool value =
414
414
is_detected<check, MappingContextTraits<T, Context>>::value;
415
415
};
416
416
417
417
// Test if MappingTraits<T>::enumInput() is defined on type T.
418
418
template <class T > struct has_MappingEnumInputTraits <T, EmptyContext> {
419
- using Signature_validate = void (*)(class IO &, T &);
419
+ using Signature_enumInput = void (*)(class IO &, T &);
420
420
421
- template <class U > using check = SameType<Signature_validate , &U::enumInput>;
421
+ template <class U > using check = SameType<Signature_enumInput , &U::enumInput>;
422
422
423
423
static constexpr bool value = is_detected<check, MappingTraits<T>>::value;
424
424
};
You can’t perform that action at this time.
0 commit comments