jansvoboda11 added a comment.
Reverted this, because we're hitting weird preprocessor behavior in MSVC 2017.
`__VA_ARGS__` form a single preprocessing token that cannot be expanded into
the original arguments, in our case `PREFIX_TYPE`, `NAME`, `ID`, etc.
Repository:
rG LLVM Github Monorepo
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG374862d71c1a: [clang][cli] Use variadic macros for
parsing/generating (authored by jansvoboda11).
Changed prior to commit:
https://reviews.llvm.or
dexonsmith accepted this revision.
dexonsmith added a comment.
This revision is now accepted and ready to land.
LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95532/new/
https://reviews.llvm.org/D95532
jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, dexonsmith.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch makes all macros forwarding to `PARSE_OPTION_WITH_MARSHALLING` and
`GENERATE_O