[PATCH] D131282: [mlir] fix `add_tablegen()` macro to allow installing mlir-pdll
    Ashay Rane via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Aug  7 11:58:04 PDT 2022
    
    
  
ashay-github added inline comments.
================
Comment at: llvm/cmake/modules/TableGen.cmake:147
+  cmake_parse_arguments(ADD_TABLEGEN "${options}" "${oneValueArgs}"
+    "${multiValueArgs}" ${ARGN})
+
----------------
nikic wrote:
> 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.
Thanks! Rewrote it as `cmake_parse_arguments(ADD_TABLEGEN "" "DESTINATION" "" ${ARGN})`
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131282/new/
https://reviews.llvm.org/D131282
    
    
More information about the llvm-commits
mailing list