LLVM-3.8.0-win64.exe is the installer. Run he installer to install clang++-3.8.
Opt to add LLVM to the path, and after installation, from the command prompt type
clang++ --version
and you should see something like:
clang version 3.8.0 (branches/release_38)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin |
This is another option, if you already have (or intend to install) Visual Studio 2015
( Community Edition:
https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx )
From the Visual Studio menu,
choose
File | New | Project | C++ | Cross Platform | Install Clang with Microsoft Codegen.
This will download and install the clang++ front-end.
Once the front-end is installed, you can cancel the creation of the Cross Platform project.
Now, create a normal Windows C++ Project:
File | New | Project | C++ | Win32 Console Application
After the project is created, to use the clang++ front-end, from the menu, choose
Project | Properties
In the property pages Dialog, choose
Configuration Properties | General (left pane)
and
Platform Toolset | Clang 3.8 with Microsoft Codegen (right pane, choose from list)