Clang

The Clang project provides a language front-end and tooling infrastructure for languages in the C language family (C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project.

Usage

It is possible to switch versions of the Clang compiler suite using modules (if more than one version is installed). After connecting to Bessemer, start an interactive sessson then load Clang using:

module load Clang/10.0.0-GCCcore-8.3.0

Confirm that you’ve loaded the version of Clang you wanted using clang --version.

Documentation

See the online user manual (for version 10; manuals for other versions also available).