[PATCH] D129822: [Support] Workaround compiler bug in MSVC

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 16:47:49 PDT 2022


stella.stamenova added a comment.

>> Incidentally, if this bug is only in VS2022, why not test for that instead of testing for any MSVC version?
>
> Which macro can I use for that?

The value of `_MSC_VER` corresponds to the Visual Studio version: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129822



More information about the llvm-commits mailing list