Current state of the (new) CBackend & LLVM/clang with Microsoft Visual Studio

Hi.

I am interested in using the CBackend of LLVM. I have read about the problems with the current version and that David Greene has started a reimplementation. Can you tell me about its current state?

Furthermore, I use Microsoft Visual Studio. The "Getting started with MVC" documents for release 2.8 say "To emphasize, there is no C/C++ front end currently available" but I had no problems compiling and using clang so far. Have I just been lucky and didn't hit a problem so far (but will probably do so, as soon as I compile more complex things)? Or is clang working fine for my use case (converting C++ to C)?

Ciao,
Jonas

Jonas Gefele <llvm.org@schrieb.de> writes:

Furthermore, I use Microsoft Visual Studio. The "Getting started with
MVC" documents for release 2.8 say "To emphasize, there is no C/C++
front end currently available" but I had no problems compiling and using
clang so far. Have I just been lucky and didn't hit a problem so far
(but will probably do so, as soon as I compile more complex things)? Or
is clang working fine for my use case (converting C++ to C)?

Here, using the stdlib (std::vector, iostreams, etc) generates long rows
of errors. VS10.