Clang-Cl Tries To Imitate Visual Studio's Compiler
Clang-Cl is one of the new driver modes to the Clang C/C++ front-end compiler to LLVM and its designed to imitate Visual Studio's cl.exe compiler.
The clang-cl driver command ends up accepting the same arguments as Visual Studio's compiler. With accepting the same compiler options/format as Visual Studio, it's easier for developers to migrate existing Visual Studio code-bases to using LLVM/Clang instead as you don't need to rewrite your compiler options.
The clang-cl driver has also added a "/fallback" option too for being able to fallback to calling Microsoft's cl.exe compiler when Clang is unable to compile a given code-base.
More details on clang-cl can be found from the LLVM blog post that was written this morning and this feature can be found in the forthcoming release of LLVM 3.4.
The clang-cl driver command ends up accepting the same arguments as Visual Studio's compiler. With accepting the same compiler options/format as Visual Studio, it's easier for developers to migrate existing Visual Studio code-bases to using LLVM/Clang instead as you don't need to rewrite your compiler options.
The clang-cl driver has also added a "/fallback" option too for being able to fallback to calling Microsoft's cl.exe compiler when Clang is unable to compile a given code-base.
More details on clang-cl can be found from the LLVM blog post that was written this morning and this feature can be found in the forthcoming release of LLVM 3.4.
11 Comments