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

sstwcw via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 03:53:43 PST 2022


sstwcw marked an inline comment as done.
sstwcw added inline comments.


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


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