Removed the warnings about several ignored compiler options.This is helpful if you switch back and forth between toolchains. Based on user feedback, project settings are added that enable you to specify additional compiler / linker options only when the LLVM version of the corresponding tool is in use.LLD is now supported! You can choose to enable either LLD, clang-cl, or both.You will get a warning or error if you try to make use of them. Clang does not support some of the most obscure options of cl.As such, you will need to disable these options. MSVC LTCG and PGO are incompatible with clang.You may need to disable precompiled headers.Since clang is a drop-in replacement for MSVC, all compiler options and projects settings that you've selected (with a couple of exceptions) should "just work". If you want to use a custom built version of LLVM that you have not installed, a property page is added to the project settings UI to allow you to choose an explicit clang binary.
#COMPILE C IN MICROSOFT VISUAL STUDIO 2017 INSTALL#
Note that you will need to install LLVM separately. Simply go to Project -> Settings -> General, choose "llvm" as the toolchain, and you are ready to go! This extension allows clang to be used as a drop in replacement for the standard Visual Studio compiler in existing C and C++ projects. VS2019 users may want to look at Clang/LLVM Support in Visual Studio instead. Note: the extension only seems to work in VS2019 if VS2017 is also installed ( ).