[PATCH] D95532: [clang][cli] Use variadic macros for parsing/generating

2021-01-30 Thread Jan Svoboda via Phabricator via cfe-commits
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

[PATCH] D95532: [clang][cli] Use variadic macros for parsing/generating

2021-01-28 Thread Jan Svoboda via Phabricator via cfe-commits
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

[PATCH] D95532: [clang][cli] Use variadic macros for parsing/generating

2021-01-27 Thread Duncan P. N. Exon Smith via Phabricator via cfe-commits
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

[PATCH] D95532: [clang][cli] Use variadic macros for parsing/generating

2021-01-27 Thread Jan Svoboda via Phabricator via cfe-commits
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