Problem Descriptions
There are two types of Clang compilers after I install Clang/LLVM:
- clang.exe/clang++.exe: GNU-like Clang compiler
- clang-cl.exe: MSVC-like Clang compiler
According to this issue, we can specify MSVC-like clang-cl.exe with the following arguments:
-
-T ClangCLfor Visual Studio 16 2019. -
-T LLVMfor Visual Studio 15 2017.
I was wondering how to specify the GNU-like clang.exe/clang++.exe for Visual Studio 16 2019?
