Change LLVM version

Marina Rusu Marina February 23, 2023

To execute Compile or Tidy commands from Clang Power Tools, you need tools from LLVM.

Fortunately, we take care of downloading the latest version of LLVM tools when you run a command, so you don't have to worry about installation.

If you'd like to use a specific lower or custom version of LLVM, you can easily do so with the built-in LLVM version manager. This allows you to download and install multiple versions of LLVM side-by-side.

💡 See how to Get started with Clang Power Tools.

Using the LLVM version manager

To access the LLVM version manager is quite easy.

  1. Go to Clang Power Tools SettingsSettings Toolbar - Clang Power Tools
  2. Open the LLVM tabLLVM manager

As you can see in the image above any previous versions are automatically detected, all you have to do now is to select what new version you want to install.

Once you click "Download," the process of downloading and installing your chosen version of LLVM will begin.

LLVM download

Managing LLVM versions

Now that you have multiple versions of LLVM installed all you have to do is select from the Use LLVM drop-down which version you want Clang Power Tools to use.

💡 Versions can be uninstalled at any time by pressing the Uninstall button.

Clang Format Editor

Closing words

Downloading and installing LLVM is usually a smooth process, but you should be aware that you may encounter some warnings or errors as you go.

Additionally, LLVM is constantly improving, so make sure to keep an eye out for new developments and updates. With the right LLVM version and a bit of patience, you can get the most out of your installation. Happy conding!

Author History

  • Marina Rusu - February 23, 2023
  • Horatiu Prica - April 9, 2020