How to Install clang-4.0 in Ubuntu 18.04



Install clang-4.0 by entering the following commands in the terminal:

sudo apt update
sudo apt install clang-4.0

Description:

C, C++ and Objective-C compiler

Clang project is a C, C++, Objective C and Objective C++ front-end based on the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). . Clang implements all of the ISO C++ 1998, 11 and 14 standards and also provides most of the support of C++17.

Homepage: http://www.llvm.org/

Version: 1:4.0.1-10

Section: universe/devel