commit | 69e900775cbe80a8de6bb60783a13a35a60ea52c | [log] [tgz] |
---|---|---|
author | Jan Svoboda <jan_svoboda@apple.com> | Wed Nov 02 09:35:00 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 02 09:42:03 2022 -0700 |
tree | f482a532465e3e1743226f0478b8ff4b58d743a1 | |
parent | e7d123c1addd0daece2592d9e37fb02794957d55 [diff] |
[cmake][msvc] Enable standards-conforming preprocessor Since we now only support Visual Studio 2019 16.7 and newer, we're able to use the /Zc:preprocessor flag that turns on the standards-conforming preprocessor. Among other things, it correctly expands __VA_ARGS__. This enables removal of some boilerplate in D135128. Reviewed By: Bigcheese, thieta Differential Revision: https://reviews.llvm.org/D135128 GitOrigin-RevId: 12d8e7c6ade55bba241259312e3e4bdcf6aeab81