We provide a periodically updated installer for Windows. The current installer integrates with MSVC 2010, 2012 and 2013.
To use the LLVM toolchain from Visual Studio, select a project in Solution Explorer, open its Property Page (Alt+F7 by default), and in the "General" section of "Configuration Properties" change "Platform Toolset" to "LLVM-vs2010" or "LLVM-vs2012".
Alternatively, invoke MSBuild with
to try out the toolchain without modifying the project files.
Currently, the package only includes clang, clang-format, lld, and the AddressSanitizer runtime from compiler-rt, but eventually it should grow to encompass other Clang tools, lldb, and possibly other LLVM projects such as libc++.
We also provide a standalone Visual Studio plugin for clang-format. It requires Visual Studio 2010 Professional or later. Notably, the Express editions do not support plugins.
This plugin relies on clang-format.exe being available on PATH. You can install clang-format.exe by installing the LLVM toolchain above and checking the box to add LLVM to the system PATH.