[all-commits] [llvm/llvm-project] 12d8e7: [cmake][msvc] Enable standards-conforming preproce...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Nov 2 09:36:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12d8e7c6ade55bba241259312e3e4bdcf6aeab81
https://github.com/llvm/llvm-project/commit/12d8e7c6ade55bba241259312e3e4bdcf6aeab81
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[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
More information about the All-commits
mailing list