The snapshot builds are no longer updated. Use the regular releases instead.
We provide a periodically updated installer for Windows:
If there is a previous version installed, the installer provides an option to uninstall it.
Currently, the package includes clang, clang-format, lld, and the AddressSanitizer runtime from compiler-rt. Eventually it should grow to encompass other Clang tools, and possibly other LLVM projects such as libc++.
To use the LLVM toolchain from Visual Studio after running the installer
above, install the LLVM
Compiler Toolchain Visual Studio extension (supports Visual Studio 2017 and
later), 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". Alternatively, invoke MSBuild with
/p:PlatformToolset=llvm to try out the toolchain without
modifying the project files.
The .sig files are PGP signatures using key 345AD05D.
The plugin is no longer updated. Visual Studio has built-in support for clang-format since 2017 15.7 Preview 1.
We also provide a standalone Visual Studio plugin for clang-format. It requires Visual Studio 2012 Professional or later. Notably, the Express editions do not support plugins.
Visual Studio plugin installer (.sig), based on based on Git commit 6923b0a7. This is also available at the Visual Studio Marketplace. A separate build of the clang-format binary is available as clang-format-6923b0a7.exe (.sig).