[PATCH] D131282: [mlir] fix `add_tablegen()` macro to allow installing mlir-pdll

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 7 04:02:01 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/cmake/modules/TableGen.cmake:147
+  cmake_parse_arguments(ADD_TABLEGEN "${options}" "${oneValueArgs}"
+    "${multiValueArgs}" ${ARGN})
+
----------------
I think it would be fine to write this as just `cmake_parse_arguments(ADD_TABLEGEN "" "OPTIONS" "" ${ARGN})`, but don't feel strongly about that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131282/new/

https://reviews.llvm.org/D131282



More information about the cfe-commits mailing list