Skip to content
| Marketplace
Sign in
Visual Studio>Tools>llvm2019
llvm2019

llvm2019

Marek Aniola

|
6,552 installs
| (3) | Free
Allows the LLVM Compiler Toolchain (installed separately) to be used from within Visual Studio 2019 (only) to build C/C++ Projects.
Download

The extension DOES NOT WORK any more for releases 16.10+ of VS2019!
See the Notes below.

LLVM Compiler Toolchain extension for Visual Studio 2019

An extension for building C/C++ projects with the LLVM Compiler Toolchain (installed separately).

This is a (slightly) modified version of the LLVM Compiler Toolchain extension for Visual Studio 2017 as published under llvm-project in folder llvm/tools/msbuild. It has the same limitations as the original: in particular some options of the MSVC compiler are not supported and may lead to errors during build.

Built with Visual Studio 2019 Community edition.

Tested (very cursory) under Visual Studio 2019 Community only.

Inspired by:

  • LLVM Compiler Toolchain extension for Visual Studio 2017
  • Bug 42290 - LLVM Compiler Toolchain extension does not support Visual Studio 2019
  • Microsoft/PTVS Build error: The specified InstallRoot value of 'VCTargets' is invalid for item #5243

Notes

3/7/2021:

  • the extension DOES NOT WORK any more for releases 16.10+ of VS2019 (!),
  • as a replacement I would suggest Microsoft C++ Clang tools for Windows that can be installed via Visual Studio Installer as an optional tool in the "Desktop development with C++" workload. You can use that tool with an external Clang/LLVM release (other than the one installed with the tool) by - for example - setting LLVMInstallDir and LLVMToolsVersion environment variables like this:
    set LLVMInstallDir=C:\Program Files\LLVM
    set LLVMToolsVersion=12.0.0
    rem LLVMToolsVersion = name of the last subfolder in the path C:\Program Files\LLVM\lib\clang\12.0.0
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft