[llvm] [Support] Fix copy-paste errors in YAMLTraits.h (PR #157022)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 08:42:58 PDT 2025
================
@@ -406,19 +406,19 @@ template <class T> struct has_MappingValidateTraits<T, EmptyContext> {
// Test if MappingContextTraits<T>::enumInput() is defined on type T.
template <class T, class Context> struct has_MappingEnumInputTraits {
- using Signature_validate = void (*)(class IO &, T &);
+ using Signature_enumInput = void (*)(class IO &, T &);
----------------
kazutakahirata wrote:
@kuhar Let me do that as a follow-up. The problem is that the `Signature_fooBar` style is used consistently in many YAML traits. Fixing the two cases alone would make things inconsistent.
https://github.com/llvm/llvm-project/pull/157022
More information about the llvm-commits
mailing list