[llvm-dev] Disabling inline compilation (Clang with VS2019)

John Emmas via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 27 23:54:33 PDT 2021


On 27/09/2021 19:43, David Blaikie wrote:
>
> https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions
> "For compatibility with existing code that compiles with MSVC, clang 
> defines the |_MSC_VER| and |_MSC_FULL_VER| macros."

Many thanks David.  And is there something that's usually defined for 
Clang but not for MSVC?  Something equivalent to CLANG_VER or 
CLANG_MAJOR_VER or whatever?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210928/65438f2a/attachment.html>


More information about the llvm-dev mailing list