[PATCH] D157028: [llvm] Extract common `OptTable` bits into macros

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 13:26:53 PDT 2023


jansvoboda11 added a comment.

Here's an example of a patch that changes the `OPTION` macro: D157029 <https://reviews.llvm.org/D157029>. I wonder if we could have counterparts to `LLVM_MAKE_OPT_ID` and `LLVM_CONSTRUCT_OPT_INFO` that allow overriding the default `OPT_` prefix. That would make D157029 <https://reviews.llvm.org/D157029> even smaller. WDYT @MaskRay?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157028



More information about the cfe-commits mailing list