[PATCH] D120363: [yamlio] Allow parsing an entire mapping as an enumeration
sstwcw via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 15:22:42 PST 2022
sstwcw added inline comments.
================
Comment at: llvm/include/llvm/Support/YAMLTraits.h:66
// static std::string validate(IO &io, T &fields);
+ // static void enumInput(IO &io, T &value);
//
----------------
As @curdeius pointed out, the function name `enumInput` is used instead of `enumeration`. I used that name in order to stress that it is only used for reading.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120363/new/
https://reviews.llvm.org/D120363
More information about the llvm-commits
mailing list