[PATCH] D120363: [yamlio] Allow parsing an entire mapping as an enumeration

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 00:54:05 PST 2022


jhenderson added inline comments.


================
Comment at: llvm/include/llvm/Support/YAMLTraits.h:1090
 
+#define MAPPING_COMMON()                                                       \
+  do {                                                                         \
----------------
Does this REALLY need to be a macro? It looks like a function would suffice to me.


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